mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-28 09:04:14 +01:00
moved heading to entityUpd #86
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user