Skip to content

Commit

Permalink
Fix config error of RWL020 (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosheskaz authored Nov 25, 2023
1 parent 30e5cdf commit 555d4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BridgeEmulator/sensors/sensor_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

sensorTypes["RWL021"] = {"ZLLSwitch": {"state":{"buttonevent":4000,"lastupdated":"2022-11-13T09:34:38"}, "config":{"on":True,"battery":None,"reachable":False,"pending":[]}, "static": {"swupdate":{"state":"transferring","lastinstall":"2022-11-13T09:32:55"}, "manufacturername":"Signify Netherlands B.V.","productname":"Hue dimmer switch","diversityid":"6426c751-c093-499e-afb6-9f0c863ec819","swversion":"2.44.0_hBB3C188","capabilities":{"certified":True,"primary":True,"inputs":[{"repeatintervals":[800],"events":[{"buttonevent":1000,"eventtype":"initial_press"},{"buttonevent":1001,"eventtype":"repeat"},{"buttonevent":1002,"eventtype":"short_release"},{"buttonevent":1003,"eventtype":"long_release"},{"buttonevent":1010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":2000,"eventtype":"initial_press"},{"buttonevent":2001,"eventtype":"repeat"},{"buttonevent":2002,"eventtype":"short_release"},{"buttonevent":2003,"eventtype":"long_release"},{"buttonevent":2010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":3000,"eventtype":"initial_press"},{"buttonevent":3001,"eventtype":"repeat"},{"buttonevent":3002,"eventtype":"short_release"},{"buttonevent":3003,"eventtype":"long_release"},{"buttonevent":3010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":4000,"eventtype":"initial_press"},{"buttonevent":4001,"eventtype":"repeat"},{"buttonevent":4002,"eventtype":"short_release"},{"buttonevent":4003,"eventtype":"long_release"},{"buttonevent":4010,"eventtype":"long_press"}]}]}}}}
sensorTypes["ZGPSWITCH"] = {"ZGPSwitch": {"state": {"buttonevent": 0, "lastupdated": "none"}, "config": {"on": True, "battery": 100, "reachable": True}, "static": {"manufacturername": "Signify Netherlands B.V.", "swversion": ""}}}
sensorTypes["RWL020"] = sensorTypes["RWL020"]
sensorTypes["RWL020"] = sensorTypes["RWL021"]
sensorTypes["RWL022"] = sensorTypes["RWL021"]
sensorTypes["TRADFRI remote control"] = {"ZHASwitch": {"state": {"buttonevent": 1002, "lastupdated": "none"}, "config": {"alert": "none", "battery": 90, "on": True, "reachable": True}, "static": {"swversion": "1.2.214", "manufacturername": "IKEA of Sweden"}}}
sensorTypes["TRADFRI on/off switch"] = {"ZHASwitch": {"state": {"buttonevent": 1002, "lastupdated": "none"}, "config": {"alert": "none", "battery": 90, "on": True, "reachable": True}, "static": {"swversion": "2.2.008", "manufacturername": "IKEA of Sweden"}}}
Expand Down

0 comments on commit 555d4db

Please sign in to comment.