From f27fc3f8aa5d30f5e9e8d2653c5eefcffd17c434 Mon Sep 17 00:00:00 2001 From: Mark Hendriksen Date: Mon, 1 Jul 2024 09:40:04 +0200 Subject: [PATCH] Update hue.py --- BridgeEmulator/lights/protocols/hue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BridgeEmulator/lights/protocols/hue.py b/BridgeEmulator/lights/protocols/hue.py index 1760a98bc..8993d8793 100644 --- a/BridgeEmulator/lights/protocols/hue.py +++ b/BridgeEmulator/lights/protocols/hue.py @@ -61,6 +61,6 @@ def discover(detectedLights, credentials): modelid = "LTW001" elif light["type"] == "On/Off plug-in unit": modelid = "LOM001" - detectedLights.append({"protocol": "hue", "name": light["name"], "modelid": modelid, "protocol_cfg": {"ip": credentials["ip"], "hueUser": credentials["hueUser"], "modelid": light["modelid"], "id": id, "uniqueid": light["uniqueid"]}}) + detectedLights.append({"protocol": "hue", "name": light["name"], "modelid": modelid, "protocol_cfg": {"ip": credentials["ip"], "hueUser": credentials["hueUser"], "modelid": light["modelid"], "id": id, "uniqueid": light["uniqueid"], "strictusexy": False}}) except Exception as e: logging.info("Error connecting to Hue Bridge: %s", e)