FE+BE: use of new events endpoint, devMAC -> devMac

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-01-03 12:05:56 +11:00
parent a01ccaec94
commit 6e194185ed
4 changed files with 72 additions and 442 deletions

View File

@@ -510,7 +510,7 @@ def mqtt_start(db):
"group": device["devGroup"],
"location": device["devLocation"],
"network_parent_mac": device["devParentMAC"],
"network_parent_name": next((dev["devName"] for dev in devices if dev["devMAC"] == device["devParentMAC"]), "")
"network_parent_name": next((dev["devName"] for dev in devices if dev["devMac"] == device["devParentMAC"]), "")
}
# bulk update device sensors in home assistant