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 2019-10-12 21:58:52 +02:00 committed by Paulus Schoutsen
parent 17b1ba2e9f
commit 22e7cb11f4
2 changed files with 2 additions and 2 deletions

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",
)

View File

@ -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",
)