Change log url in config check error notification (#37311)
This commit is contained in:
parent
235298a1b2
commit
0f8b934e68
3 changed files with 3 additions and 3 deletions
|
@ -325,7 +325,7 @@ async def async_setup(hass, config):
|
|||
if errors:
|
||||
_LOGGER.error(errors)
|
||||
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",
|
||||
f"{HASS_DOMAIN}.check_config",
|
||||
)
|
||||
|
|
|
@ -112,7 +112,7 @@ async def async_setup(hass: ha.HomeAssistant, config: dict) -> bool:
|
|||
if errors:
|
||||
_LOGGER.error(errors)
|
||||
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",
|
||||
f"{ha.DOMAIN}.check_config",
|
||||
)
|
||||
|
|
|
@ -9,7 +9,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
|||
"""Set up the Safe Mode component."""
|
||||
persistent_notification.async_create(
|
||||
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",
|
||||
)
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue