File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 2727from homeassistant .setup import async_get_loaded_integrations
2828from jinja2 import Template
2929
30- from .const import DOMAIN , DOMAIN_DATA , LOGGER , STARTUP_MESSAGE
30+ from .const import DOMAIN , DOMAIN_DATA , LOGGER
3131
3232CONFIG_SCHEMA = vol .Schema (
3333 {DOMAIN : vol .Schema ({vol .Optional ("convert_lovelace" ): cv .boolean })},
@@ -41,9 +41,6 @@ async def async_setup(hass: HomeAssistant, config: dict):
4141 # We get her if the integration is set up using config flow
4242 return True
4343
44- # Print startup message
45- LOGGER .info (STARTUP_MESSAGE )
46-
4744 # Create DATA dict
4845 hass .data .setdefault (DOMAIN_DATA , config [DOMAIN ])
4946
@@ -71,9 +68,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry):
7168 )
7269 return True
7370
74- # Print startup message
75- LOGGER .info (STARTUP_MESSAGE )
76-
7771 # Create DATA dict
7872 hass .data [DOMAIN_DATA ] = config_entry .data
7973
Original file line number Diff line number Diff line change 66
77DOMAIN = "readme"
88DOMAIN_DATA = "readme_data"
9- INTEGRATION_VERSION = "0.6.0"
109
1110ISSUE_URL = "https://github.com/custom-components/readme/issues"
12-
13-
14- STARTUP_MESSAGE = f"""
15- -------------------------------------------------------------------
16- { DOMAIN }
17- Version: { INTEGRATION_VERSION }
18- This is a custom integration
19- If you have any issues with this you need to open an issue here:
20- { ISSUE_URL }
21- -------------------------------------------------------------------
22- """
You can’t perform that action at this time.
0 commit comments