espnow if id is 0 call set_settings
This commit is contained in:
1 parent
b7920e224f
commit
c63e907204
1 file changed
+1
-1
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user