diff --git a/nspanel-lovelace-ui/config.yaml b/nspanel-lovelace-ui/config.yaml index 1df983a4..2a1a4715 100644 --- a/nspanel-lovelace-ui/config.yaml +++ b/nspanel-lovelace-ui/config.yaml @@ -1,6 +1,6 @@ # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config name: NSPanel Lovelace UI Addon -version: "4.7.51" +version: "4.7.52" slug: nspanel-lovelace-ui description: NSPanel Lovelace UI Addon services: diff --git a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/ha_cards.py b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/ha_cards.py index 2d485702..4b32c388 100644 --- a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/ha_cards.py +++ b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/ha_cards.py @@ -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()