fix callback

This commit is contained in:
joBr99
2023-11-19 18:50:48 +01:00
parent f0c0281ac2
commit 6df63ea67e
2 changed files with 5 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ class LovelaceUIPanel:
if iid in self.hidden_cards:
return self.hidden_cards[iid]
def on_ha_update(entity_id):
def ha_event_callback(self, 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())