We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ZXFANS F2 Smart Knob Remote Control (aiiol.remote.ts4)
`from custom_components.xiaomi_gateway3.core.devices import *
DEVICES = [{ # https://home.miot-spec.com/spec/ailol.remote.ts4 18250: ["ZXFANS", "ZXFANS F2 smart knob remote control", "ailol.remote.ts4"], "spec": [ BaseConv("battery", "sensor", mi="4.p.1003"), BaseConv("action", "sensor"), MapConv("action", mi="5.e.1012.p.1", map={1: BUTTON_1_SINGLE, 2: BUTTON_2_SINGLE, 3: BUTTON_3_SINGLE, 4: BUTTON_4_SINGLE, 5: "knob_increasing", 6: "knob_reduced"}), MapConv("action", mi="5.e.1013.p.1", map={1: BUTTON_1_DOUBLE, 2: BUTTON_2_DOUBLE, 3: BUTTON_3_DOUBLE, 4: BUTTON_4_DOUBLE}), MapConv("action", mi="5.e.1014.p.1", map={1: BUTTON_1_HOLD, 2: BUTTON_2_HOLD, 3: BUTTON_3_HOLD, 4: BUTTON_4_HOLD}), ] }] + DEVICES `
No response
The text was updated successfully, but these errors were encountered:
Ernst79
No branches or pull requests
Sensor Description
ZXFANS F2 Smart Knob Remote Control (aiiol.remote.ts4)
Additional information
`from custom_components.xiaomi_gateway3.core.devices import *
DEVICES = [{
# https://home.miot-spec.com/spec/ailol.remote.ts4
18250: ["ZXFANS", "ZXFANS F2 smart knob remote control", "ailol.remote.ts4"],
"spec": [
BaseConv("battery", "sensor", mi="4.p.1003"),
BaseConv("action", "sensor"),
MapConv("action", mi="5.e.1012.p.1", map={1: BUTTON_1_SINGLE, 2: BUTTON_2_SINGLE, 3: BUTTON_3_SINGLE, 4: BUTTON_4_SINGLE, 5: "knob_increasing", 6: "knob_reduced"}),
MapConv("action", mi="5.e.1013.p.1", map={1: BUTTON_1_DOUBLE, 2: BUTTON_2_DOUBLE, 3: BUTTON_3_DOUBLE, 4: BUTTON_4_DOUBLE}),
MapConv("action", mi="5.e.1014.p.1", map={1: BUTTON_1_HOLD, 2: BUTTON_2_HOLD, 3: BUTTON_3_HOLD, 4: BUTTON_4_HOLD}),
]
}] + DEVICES `
BLE advertisements
No response
The text was updated successfully, but these errors were encountered: