From 4795cc23ad4af7d833945b0f2c1603a443dc6179 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Fri, 1 Dec 2023 23:39:49 +0100 Subject: [PATCH] fix state update bug with iid --- nspanel-lovelace-ui/config.yaml | 2 +- nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nspanel-lovelace-ui/config.yaml b/nspanel-lovelace-ui/config.yaml index 4a46d4b3..348e24f2 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.64" +version: "4.7.65" slug: nspanel-lovelace-ui description: NSPanel Lovelace UI Addon services: diff --git a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py index 82588af8..a7a11953 100644 --- a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py +++ b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py @@ -134,7 +134,7 @@ class LovelaceUIPanel: entity_id_iid = "" for e in self.current_card.entities: if entity_id == e.entity_id: - entity_id_iid = e.iid + entity_id_iid = f'iid.{e.iid}' effectList = None if etype=="light":