Add link to log view in persistent notification (#42060)
This commit is contained in:
@@ -902,7 +902,7 @@ def async_notify_setup_error(
|
||||
part = f"[{name}]({link})" if link else name
|
||||
message += f" - {part}\n"
|
||||
|
||||
message += "\nPlease check your config."
|
||||
message += "\nPlease check your config and [logs](/config/logs)."
|
||||
|
||||
persistent_notification.async_create(
|
||||
hass, message, "Invalid config", "invalid_config"
|
||||
|
||||
Reference in New Issue
Block a user