mac-zhou / homeassistant-mi-acpartner

XiaoMi AC Partner plugins for Home Assistant
MIT License
125 stars 15 forks source link
mi-acpartner mijia xiaomi

homeassistant-mi-acpartner

小米空调伴侣的homeassistant插件

本插件主要是对homebridge-mi-acpartner移植到homeassistant,感谢开发者。

同时参考了HomeAssistant论坛各路大神们几个空调插件的做法,此处不在一一全表,同样感谢。

说到底,其实我只是个搬运工(^-^)

Feature(功能)

Config(配置)

基本配置

climate:
  - platform: mi_acpartner
    name: mi_acpartner
    host: 10.0.0.234
    token: 8171378a40b1a77ee7a8254b15c75cfc
    target_sensor: sensor.temperature_158d00015aefc4

自定义空调码或红外码

大部分空调码以01开头;大部分红外码以FE开头,支持混写。

climate:
  - platform: mi_acpartner
    name: mi_acpartner
    host: 10.0.0.234
    token: 9878a40b1a77ee7a8254b15c75cfb
    target_sensor: sensor.temperature_158d00015a
    sync: 60
    customize:
      swing:
        top: 010501820000261801
        down: FEADASDSDSDSDSDSADSAFADSFASA
      fan:
        max: FEADASDSDSDSDSDSADSAFADSFASAD
        med: FEBDASDSDSDSDSDSADSAFADSFASAR
        min: 010501A20000261B01