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 27
27
from homeassistant .setup import async_get_loaded_integrations
28
28
from jinja2 import Template
29
29
30
- from .const import DOMAIN , DOMAIN_DATA , LOGGER , STARTUP_MESSAGE
30
+ from .const import DOMAIN , DOMAIN_DATA , LOGGER
31
31
32
32
CONFIG_SCHEMA = vol .Schema (
33
33
{DOMAIN : vol .Schema ({vol .Optional ("convert_lovelace" ): cv .boolean })},
@@ -41,9 +41,6 @@ async def async_setup(hass: HomeAssistant, config: dict):
41
41
# We get her if the integration is set up using config flow
42
42
return True
43
43
44
- # Print startup message
45
- LOGGER .info (STARTUP_MESSAGE )
46
-
47
44
# Create DATA dict
48
45
hass .data .setdefault (DOMAIN_DATA , config [DOMAIN ])
49
46
@@ -71,9 +68,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry):
71
68
)
72
69
return True
73
70
74
- # Print startup message
75
- LOGGER .info (STARTUP_MESSAGE )
76
-
77
71
# Create DATA dict
78
72
hass .data [DOMAIN_DATA ] = config_entry .data
79
73
Original file line number Diff line number Diff line change 6
6
7
7
DOMAIN = "readme"
8
8
DOMAIN_DATA = "readme_data"
9
- INTEGRATION_VERSION = "0.6.0"
10
9
11
10
ISSUE_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