Skip to content

Commit

Permalink
Update converters for Philips and IKEA
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Mar 29, 2024
1 parent c2755ea commit b6c89b8
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1220,15 +1220,15 @@
],
}, {
"LWB010": ["Philips", "Hue white 806 lm", "9290011370B"],
"support": 2, # TODO: state change, effect?
"support": 2,
"spec": [
ZOnOffConv("light", "light", ep=11),
ZOnOffConv("light", "light", ep=11, entity={"poll": True}),
ZBrightnessConv("brightness", ep=11),
ZTransitionConv("transition"),
],
}, {
"LCT001": ["Philips", "Hue Color 600 lm", "9290012573A"],
"support": 2, # TODO: state change, effect?
"support": 4,
"spec": [
ZOnOffConv("light", "light", ep=11, entity={"poll": True}),
ZBrightnessConv("brightness", ep=11),
Expand All @@ -1249,7 +1249,7 @@
"FNB56-ZSC01LX1.2": [None, "Dimmer", "LXZ8-02A"],
"TRADFRI bulb E27 W opal 1000lm": ["IKEA", "Bulb E27 1000 lm", "LED1623G12"],
"TRADFRI bulb E27 WW 806lm": ["IKEA", "Bulb E27 806 lm", "LED1836G9"],
"support": 3, # @AlexxIT TODO: tests, effect?
"support": 3, # @AlexxIT
"spec": [
ZOnOffConv("light", "light"),
ZBrightnessConv("brightness"),
Expand All @@ -1273,8 +1273,19 @@
# IKEARemoteConv1("action", "sensor", bind=True),
# IKEARemoteConv2("action"),
],
}, {
"TRADFRI Signal Repeater": ["IKEA", "TRADFRI signal repeater", "E1746"],
"spec": [], # just repeater, no spec
}, {
"TRADFRI open/close remote": ["IKEA", "TRADFRI open/close remote", "E1766"],
"support": 1,
"spec": [
ZBatteryPercConv("battery", "sensor", bind=True),
ZBatteryVoltConv("battery_voltage", "sensor"),
],
}, {
"FYRTUR block-out roller blind": ["IKEA", "FYRTUR roller blind", "E1757"],
"support": 5, # @AlexxIT
"spec": [
ZCoverCmd("motor", "cover", bind=True),
ZCoverPos("position", report="1s 5h 1"),
Expand Down

0 comments on commit b6c89b8

Please sign in to comment.