espnow if id is 0 call set_settings

This commit is contained in:
2025-06-04 21:07:15 +12:00
parent b7920e224f
commit c63e907204

View File

@@ -33,7 +33,7 @@ async def main():
async for mac, msg in e:
data = json.loads(msg)
print(data)
if settings["id"] in data["ids"]:
if settings["id"] in data["ids"] or settings["id"] == 0:
settings.set_settings(data["settings"], patterns)
print("should not print")