Update panel.py

This commit is contained in:
Johannes
2024-11-20 20:02:23 +01:00
committed by GitHub
parent 0c54f747b9
commit a87044a2b9

View File

@@ -228,7 +228,7 @@ class LovelaceUIPanel:
self.render_current_page(requested=True)
if msg[1] == "buttonPress2":
entity_id = msg[2]
if entity_id = "":
if entity_id == "":
return
btype = msg[3]
value = msg[4] if len(msg) > 4 else None