mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-20 14:37:01 +01:00
upd
This commit is contained in:
@@ -91,6 +91,11 @@ class LovelaceUIPanel:
|
||||
if iid in self.hidden_cards:
|
||||
return self.hidden_cards[iid]
|
||||
|
||||
def on_ha_update(entity_id):
|
||||
logging.debug(f"{entity_id} updated/state changed")
|
||||
# TODO: Check if entity is on current card
|
||||
libs.panel_cmd.entityUpd(self.sendTopic, self.current_card.render())
|
||||
|
||||
def customrecv_event_callback(self, msg):
|
||||
logging.debug("Recv Message from NsPanel: %s", msg)
|
||||
msg = msg.split(",")
|
||||
|
||||
Reference in New Issue
Block a user