Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -2010,6 +2010,18 @@
ConstConv("action", mi="3.e.1014", value="knob_press"),
],
# "ttl": "7d"
}, {
#https://home.miot-spec.com/spec/line.remote.fwkge2
30883: ["LineHope", "Ark Fish Wireless Switch E2","AFWXKG220000", "line.remote.fwkge2"],
"spec": [
# Action events (single/double/long press)
BaseConv("action", "sensor"),
ConstConv("action", mi="5.e.1012", value=BUTTON_SINGLE),
ConstConv("action", mi="5.e.1013", value=BUTTON_DOUBLE),
ConstConv("action", mi="5.e.1014", value=BUTTON_HOLD),
# Battery level
BaseConv("battery", "sensor", mi="4.p.1003"),
],
}, {
12183: ["Lockin", "Door Lock M20 Pro", "loock.lock.r2"],
"spec": [
Expand Down