mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 05:58:39 +01:00
Update mqttListener.py
This commit is contained in:
@@ -31,7 +31,7 @@ class LuiMqttListener(object):
|
|||||||
# run action based on received command
|
# run action based on received command
|
||||||
if msg[0] == "event":
|
if msg[0] == "event":
|
||||||
if msg[1] == "startup":
|
if msg[1] == "startup":
|
||||||
display_firmware_version = int(msg[2])
|
self._updater.request_berry_driver_version()
|
||||||
model = None
|
model = None
|
||||||
if display_firmware_version >= 23:
|
if display_firmware_version >= 23:
|
||||||
model = msg[3]
|
model = msg[3]
|
||||||
|
|||||||
Reference in New Issue
Block a user