This commit is contained in:
joBr99
2023-11-27 00:34:51 +01:00
parent 361a125118
commit 112fe16f29
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class HAEntity(panel_cards.Entity):
self.icon_overwrite = libs.home_assistant.get_template(config_icon)
config_color = self.config.get("color", None)
if config_color and isinstance(config_color, str) and config_color.startswith("ha:"):
self.color_overwrite = libs.home_assistant.get_template(config_color)
self.color_overwrite = libs.home_assistant.get_template(config_color)[3:]
if self.etype in ["delete", "navigate", "iText"]:
out = super().render()