moved heading to entityUpd #86

This commit is contained in:
joBr99
2022-03-28 22:59:43 +02:00
parent 9d0acb3c0e
commit 35f0dee452
4 changed files with 3 additions and 6 deletions

View File

@@ -159,10 +159,9 @@ class LuiPagesGen(object):
def generate_entities_page(self, heading, items):
# Set Heading of Page
self._send_mqtt_msg(f"entityUpdHeading,{heading}")
navigation = ""
command = "entityUpd,{heading},{navigation}"
# Get items and construct cmd string
command = "entityUpd"
for item in items:
command += self.generate_entities_item(item)
self._send_mqtt_msg(command)