mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Add link to log view in persistent notification (#42060)
This commit is contained in:
parent
a62db7887b
commit
bd1d6f2c0d
@ -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"
|
||||
|
@ -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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user