Skip to content

Commit

Permalink
Support for Xiaomi Baseboard Heater 1S (leshow.heater.bs1s) (#1656)
Browse files Browse the repository at this point in the history
  • Loading branch information
sayzard committed Jan 26, 2023
1 parent 3e283af commit a64420c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions miio/heater_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@
# Indicator light (siid=7)
"led_brightness": {"siid": 6, "piid": 1},
},
"leshow.heater.bs1s": {
# Source https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:heater:0000A01A:leshow-bs1:1
# Heater (siid=2)
"power": {"siid": 2, "piid": 1},
"target_temperature": {"siid": 2, "piid": 3},
# Countdown (siid=3)
"countdown_time": {"siid": 3, "piid": 1},
# Environment (siid=4)
"temperature": {"siid": 4, "piid": 7},
# Physical Control Locked (siid=5)
"child_lock": {"siid": 5, "piid": 1},
# Alarm (siid=6)
"buzzer": {"siid": 6, "piid": 1},
# Indicator light (siid=7)
"led_brightness": {"siid": 7, "piid": 1},
},
}

HEATER_PROPERTIES = {
Expand Down

0 comments on commit a64420c

Please sign in to comment.