-
-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
米家空调插座回报HomeKit温度问题 #800
Comments
https://github.com/home-assistant/core/blob/dev/homeassistant/components/homekit/type_thermostats.py#L217-L219 由于空调伴侣没有温度传感器,无法获取当前室温,实体属性 |
如果没有温度传感器,可以通过 current_temp_property 使用空调的目标温度作为显示的温度,例: customizing_device:
lumi.acpartner.mcn02:
sensor_attributes: electric_power,power_cost_today,power_cost_month
current_temp_property: target_temperature |
我最近也遇到了这个问题,你可以参考以下步骤:
homeassistant:
customize: !include customize.yaml
climate.lumi_mcn02_d045_air_conditioner: # 空调伴侣实体ID
bind_sensor: sensor.miaomiaoce_t2_0b9e_temperature_humidity_sensor #温度传感器实体ID
docker-compose restart |
这个温度不能删掉吗? |
您好,请问这个 配置文件是加在哪里,我这边尝试在config的configuration.yaml中添加这段代码,重启docker后,HA提示配置文件有问题 |
更新:#1185 |
请问你弄好了吗,我也遇到了相同的问题 |
我是手动在docker容器的这个路径下的这行,加上了上述的
|
我使用的配件是【米家空调伴侣2】,通过 HomeAssistant 接入 HomeKit 后,在 HomeKit 首页的快捷开关上始终会显示一个【21°】,并会被纳入房间内环境传感器中统计(如下图)
但是点开开关后里面是正常的温度控制,并没有【21°】相关的内容
同时在 HomeAssistant 中查看实体相关数据也没有找到【21°】,请问是什么原因呢?
The text was updated successfully, but these errors were encountered: