Skip to content

Commit

Permalink
Add power on state to old Aqara relay
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 1, 2024
1 parent 7b67b07 commit eb6c8f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@
ButtonConv("button_1", mi="13.1.85"),
ButtonConv("button_2", mi="13.2.85"),
ButtonConv("button_both", mi="13.5.85"),
BaseConv("chip_temperature", "sensor", mi="8.0.2006"), # diagnostic
MapConv("power_on_state", "select", mi="8.0.2030", map={0: "off", 1: "previous"}), # config
BoolConv("interlock", "switch", mi="4.9.85", entity=ENTITY_CONFIG),
BaseConv("chip_temperature", "sensor", mi="8.0.2006"), # diagnostic
],
}, {
"lumi.ctrl_neutral2": ["Aqara", "Double Wall Switch (no N)", "QBKG03LM"],
Expand Down

0 comments on commit eb6c8f1

Please sign in to comment.