From d8ee9c1922b41188e04e2f33828363458c1a580c Mon Sep 17 00:00:00 2001 From: Kuba Wolanin Date: Mon, 2 May 2022 01:14:30 +0200 Subject: [PATCH] Add Show logs URL to integration errors notification (#71142) --- homeassistant/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index d5f9eb91b62..5c870918231 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -951,8 +951,9 @@ def async_notify_setup_error( message = "The following integrations and platforms could not be set up:\n\n" for name, link in errors.items(): + show_logs = f"[Show logs](/config/logs?filter={name})" part = f"[{name}]({link})" if link else name - message += f" - {part}\n" + message += f" - {part} ({show_logs})\n" message += "\nPlease check your config and [logs](/config/logs)."