removed old buttonPress format

This commit is contained in:
joBr99
2022-03-22 23:32:46 +01:00
parent 84df05ee3a
commit 8f9e1cc16d
2 changed files with 0 additions and 8 deletions

Binary file not shown.

View File

@@ -255,14 +255,6 @@ class LovelaceUIPanel:
# generate commands for current page
self.generate_page(self.current_page_nr)
if msg[1] == "buttonPress":
entity_id = msg[4]
btype = msg[6]
if len(msg) > 7:
value = msg[7]
else:
value = None
self.handle_button_press(entity_id, btype, value)
if msg[1] == "buttonPress2":
entity_id = msg[2]
btype = msg[3]