mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-14 18:34:06 +01:00
removed old buttonPress format
This commit is contained in:
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user