diff --git a/src/core/webServer/server.py b/src/core/webServer/server.py index b81eda254..1040405f0 100644 --- a/src/core/webServer/server.py +++ b/src/core/webServer/server.py @@ -575,7 +575,7 @@ def do_POST(self): post_dictionary["lightstates"] = {} if "lights" in post_dictionary: lights = post_dictionary["lights"] - elif "group" in post_dictionary: + elif "group" in post_dictionary and post_dictionary["group"] != "0": lights = bridge_config["groups"][post_dictionary["group"]]["lights"] for light in lights: post_dictionary["lightstates"][light] = {