Add link to log view in persistent notification (#42060)

This commit is contained in:
Philip Allgaier
2020-10-21 19:09:45 +02:00
committed by GitHub
parent a62db7887b
commit bd1d6f2c0d
2 changed files with 3 additions and 3 deletions

View File

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