Skip to content

Commit

Permalink
Update hue.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriksen-mark authored Jul 1, 2024
1 parent 591894f commit f27fc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BridgeEmulator/lights/protocols/hue.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit f27fc3f

Please sign in to comment.