From c556a0b4538b55b85e3089d9018d984d42ab810f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 4 Oct 2019 10:04:35 +0200 Subject: [PATCH] Change sidebar title too --- custom_components/favicon/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/custom_components/favicon/__init__.py b/custom_components/favicon/__init__.py index 89d2a91..12e7e44 100644 --- a/custom_components/favicon/__init__.py +++ b/custom_components/favicon/__init__.py @@ -101,6 +101,19 @@ def apply_hooks(hass): text = text.replace("/static/icons/favicon-apple-180x180.png", icons["apple"]) if title: text = text.replace("Home Assistant", f"{title}") + text = text.replace("", f""" + + """) + return text tpl.render = new_render