Change persistent notification about dev-info panel (#27441)

* there is no dev-info panel anymore

* Update __init__.py

* Update __init__.py
This commit is contained in:
Fredrik Erlandsson authored and Paulus Schoutsen committed 2019-10-12 12:58:52 -07:00
1 parent 17b1ba2e9f
commit 22e7cb11f4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ async def async_setup(hass, config):
if errors:
_LOGGER.error(errors)
hass.components.persistent_notification.async_create(
"Config error. See dev-info panel for details.",
"Config error. See [the logs](/developer-tools/logs) for details.",
"Config validating",
f"{HASS_DOMAIN}.check_config",
)
@@ -108,7 +108,7 @@ async def async_setup(hass: ha.HomeAssistant, config: dict) -> Awaitable[bool]:
if errors:
_LOGGER.error(errors)
hass.components.persistent_notification.async_create(
"Config error. See dev-info panel for details.",
"Config error. See [the logs](/developer-tools/logs) for details.",
"Config validating",
f"{ha.DOMAIN}.check_config",
)