Skip to content

Commit

Permalink
Support STYRBAR remote identified as "Remote Control N2".
Browse files Browse the repository at this point in the history
jamesremuscat committed Jan 2, 2025

Verified

This commit was signed with the committer’s verified signature.
1 parent c195967 commit 7afd8bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BridgeEmulator/sensors/sensor_types.py
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
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["Remote Control N2"] = {"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"}}}
sensorTypes["TRADFRI wireless dimmer"] = {"ZHASwitch": {"state": {"buttonevent": 1002, "lastupdated": "none"}, "config": {"alert": "none", "battery": 90, "on": True, "reachable": True}, "static": {"swversion": "1.2.248", "manufacturername": "IKEA of Sweden"}}}
# Fix Deconz types

0 comments on commit 7afd8bb

Please sign in to comment.