syssi / xiaomi_airconditioningcompanion

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Apache License 2.0
394 stars 93 forks source link

Xiaomi Zigbee temperature & humidity sensor managed by lumi.acpartner.v2 AC companion was not added into HomeAssistant #158

Open LiangZugeng opened 1 year ago

LiangZugeng commented 1 year ago

In Mi Home app, I added a XiaoMi zigbee temperature & humidity sensor through lumi.acpartner.v2 AC companion and I wanted to use the sensor as the target temperature sensor in the configuration as follows.

climate living_room_ac:
  - platform: xiaomi_miio_airconditioningcompanion
    name: 客厅空调
    host: 192.168.32.11
    token: HIDDEN_VALUE
    target_sensor: sensor.temperature_lumi_not_existed    <--- I wanted to use the sensor here
    scan_interval: 60

I can't seem to find the sensor entity in Home Assistant thus its Id cannot be obtained.

Question 1: I understand this component was designed to enable the AC controlling feature without any gateway feature, is this the reason why the sensor was not reported to Home Assistant?

Question 2: Any suggestions that I can make the sensor available in Home Assistant?