changed msg format on update page

This commit is contained in:
Johannes
2022-04-01 20:34:17 +02:00
parent 1272732bb5
commit ffd4573d6a

View File

@@ -35,7 +35,7 @@ class Updater:
def send_message_page(self, id, heading, msg, b1, b2): def send_message_page(self, id, heading, msg, b1, b2):
self._send_mqtt_msg(f"pageType,popupNotify") self._send_mqtt_msg(f"pageType,popupNotify")
self._send_mqtt_msg(f"entityUpdateDetail,|{id}|{heading}|65535|{b1}|65535|{b2}|65535|{msg}|65535|0") self._send_mqtt_msg(f"entityUpdateDetail~{id}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")
def check_updates(self): def check_updates(self):
# return's true if a notification was send to the panel # return's true if a notification was send to the panel