Alone
Alone
未来的版本中会支持通过HA服务更新设备列表并重载集成。
v0.7.1版本开始已支持通过服务更新设备列表。 [`xiaomi_miot.renew_devices`](https://my.home-assistant.io/redirect/developer_call_service/?service=xiaomi_miot.renew_devices)
`{'power': 'off', 'onseat_state': 'off', 'seat_ring': 'on', 'closestool_cover': 'on', 'inwater_temp': 22, 'water_temp_lvl': 3, 'seat_temp': 36, 'seat_temp_lvl': 2, 'flow_level': 2, 'wind_temp_lvl': 2, 'nozzle_level': 1, 'night_led': 'off', 'deodorize': 'off', 'filter_life': 98, 'mode': 'idle',...
尝试master分支
尝试master分支
请尝试master分支。
米家上是通过什么操作开始加热的?
- https://github.com/al-one/hass-xiaomi-miot/issues/218#issuecomment-964712557 请参考上述方法,通过vevs修改版的米家操作设备,抓取该设备日志。
```json {"id":8385,"method":"set_properties","params":[ {"did":"621059839","siid":2,"piid":4,"value":99}, # target-temperature {"did":"621059839","siid":2,"piid":5,"value":true}, # auto-keep-warm {"did":"621059839","siid":2,"piid":6,"value":45}, # keep-warm-temperature {"did":"621059839","siid":3,"piid":1,"value":720}, # keep-warm-time {"did":"621059839","siid":3,"piid":11,"value":1} # target-mode ]} ``` 从你的日志中可以看出,在设置完参数后,通过设置`target-mode`属性可以开始加热。请再次更新master分支,会多出一个`target-mode`实体,将下拉值选择为`1`应该就可以加热,至于其他选项,应该是对应不同的自定义模式。
Use https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor