Results 648 comments of Alone

Changing the capitalization of letters in an entity's state may break automation in older versions.

设备未返回正确的温度值,[执行下面的服务命令](https://my.home-assistant.io/redirect/developer_call_service/?service=xiaomi_miot.send_command)并观察返回: ```yaml service: xiaomi_miot.send_command data: entity_id: water_heater.viomi_e1_8aee_water_heater method: get_prop params: [targetTemp] throw: true ```

以前是否正常?尝试给设备断电几分钟吧

```yaml service: xiaomi_miot.send_command data: entity_id: water_heater.viomi_e1_8aee_water_heater method: get_prop params: [] throw: true ```

猜测可能跟HA 2032.7新支持的服务响应有关,本插件适配了该功能,在执行插件服务时支持返回结果,因此rest api会等待响应结果再返回。

HA的homekit集成是通过判断`climate`实体的风速中是否有`low`/`medium`/`high`等档位(参考[源码](https://github.com/home-assistant/core/blob/816adce2576826ced1d514c6073c2a1d2aa53680/homeassistant/components/homekit/type_thermostats.py#L121)),如果希望homekit中的空调不显示风速控件,只需通过本插件的`translations`配置将风速翻译成其他语言即可,缺点就是无法通过homekit控制空调风速。 ```yaml # configuration.yaml xiaomi_miot: translations: fan_control.fan_level: auto: 自动 low: 低档 medium: 中档 high: 高档 ``` - https://github.com/al-one/hass-xiaomi-miot/issues/682#issuecomment-1171993867 - https://github.com/al-one/hass-xiaomi-miot/issues/713#issuecomment-1197833476

在此讨论:https://github.com/al-one/hass-xiaomi-miot/issues/1530

```json { "iid":7, "type":"urn:miot-spec-v2:property:water-level:0000003D:zhimi-ca6:1", "description":"Water Level", "format":"uint8", "access":[ "read", "notify" ], "unit":"percentage", "value-range":[ 0, # min 2, # max 1 # step ] } ``` The device specifications are defined...