mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Change log url in config check error notification (#37311)
This commit is contained in:
parent
235298a1b2
commit
0f8b934e68
@ -325,7 +325,7 @@ async def async_setup(hass, config):
|
|||||||
if errors:
|
if errors:
|
||||||
_LOGGER.error(errors)
|
_LOGGER.error(errors)
|
||||||
hass.components.persistent_notification.async_create(
|
hass.components.persistent_notification.async_create(
|
||||||
"Config error. See [the logs](/developer-tools/logs) for details.",
|
"Config error. See [the logs](/config/logs) for details.",
|
||||||
"Config validating",
|
"Config validating",
|
||||||
f"{HASS_DOMAIN}.check_config",
|
f"{HASS_DOMAIN}.check_config",
|
||||||
)
|
)
|
||||||
|
@ -112,7 +112,7 @@ async def async_setup(hass: ha.HomeAssistant, config: dict) -> bool:
|
|||||||
if errors:
|
if errors:
|
||||||
_LOGGER.error(errors)
|
_LOGGER.error(errors)
|
||||||
hass.components.persistent_notification.async_create(
|
hass.components.persistent_notification.async_create(
|
||||||
"Config error. See [the logs](/developer-tools/logs) for details.",
|
"Config error. See [the logs](/config/logs) for details.",
|
||||||
"Config validating",
|
"Config validating",
|
||||||
f"{ha.DOMAIN}.check_config",
|
f"{ha.DOMAIN}.check_config",
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
|||||||
"""Set up the Safe Mode component."""
|
"""Set up the Safe Mode component."""
|
||||||
persistent_notification.async_create(
|
persistent_notification.async_create(
|
||||||
hass,
|
hass,
|
||||||
"Home Assistant is running in safe mode. Check [the error log](/developer-tools/logs) to see what went wrong.",
|
"Home Assistant is running in safe mode. Check [the error log](/config/logs) to see what went wrong.",
|
||||||
"Safe Mode",
|
"Safe Mode",
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user