diff --git a/BridgeEmulator/HueObjects/Group.py b/BridgeEmulator/HueObjects/Group.py index da8b2c489..188904e46 100644 --- a/BridgeEmulator/HueObjects/Group.py +++ b/BridgeEmulator/HueObjects/Group.py @@ -131,8 +131,8 @@ def update_state(self): light = device().firstElement() if light.state["on"]: any_on = True - if "bri" in light().state: - bri = bri + light().state["bri"] + if "bri" in light.state: + bri = bri + light.state["bri"] lights_on = lights_on + 1 else: all_on = False