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

This commit is contained in:
Philip Allgaier authored and GitHub committed 2020-10-21 12:09:45 -05:00
1 parent a62db7887b
commit bd1d6f2c0d
2 files changed
+3 -3

No files matched your search

+1 -1
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"
+2 -2
View File
@@ -564,7 +564,7 @@ class ConfigEntriesFlowManager(data_entry_flow.FlowManager):
title="New devices discovered",
message=(
"We have discovered new devices on your network. "
"[Check it out](/config/integrations)"
"[Check it out](/config/integrations)."
),
notification_id=DISCOVERY_NOTIFICATION_ID,
)
@@ -573,7 +573,7 @@ class ConfigEntriesFlowManager(data_entry_flow.FlowManager):
title="Integration requires reconfiguration",
message=(
"At least one of your integrations requires reconfiguration to "
"continue functioning. [Check it out](/config/integrations)"
"continue functioning. [Check it out](/config/integrations)."
),
notification_id=RECONFIGURE_NOTIFICATION_ID,
)