We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f06b77 commit 1dab1adCopy full SHA for 1dab1ad
src/core/webServer/server.py
@@ -575,7 +575,7 @@ def do_POST(self):
575
post_dictionary["lightstates"] = {}
576
if "lights" in post_dictionary:
577
lights = post_dictionary["lights"]
578
- elif "group" in post_dictionary:
+ elif "group" in post_dictionary and post_dictionary["group"] != "0":
579
lights = bridge_config["groups"][post_dictionary["group"]]["lights"]
580
for light in lights:
581
post_dictionary["lightstates"][light] = {
0 commit comments