From c63e9072044635ad5c23b69938cd8ff541ba0982 Mon Sep 17 00:00:00 2001 From: jimmy Date: Wed, 4 Jun 2025 21:07:15 +1200 Subject: [PATCH] espnow if id is 0 call set_settings --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index abb821e..d83a3ed 100644 --- a/src/main.py +++ b/src/main.py @@ -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")