diff --git a/BridgeEmulator/HueObjects/__init__.py b/BridgeEmulator/HueObjects/__init__.py index a7d51f3cb..95fb9a386 100644 --- a/BridgeEmulator/HueObjects/__init__.py +++ b/BridgeEmulator/HueObjects/__init__.py @@ -881,8 +881,9 @@ def getV2Api(self): if light().modelid in ["LCX001", "LCX002", "LCX003"]: loops = len(gradienStripPositions) elif light().modelid in ["915005987201", "LCX004", "LCX006"]: - loops = 3 + loops = len(self.locations[light()]) for x in range(loops): + print("x:", x) channel = { "channel_id": channel_id, "members": [