Alone
Alone
@swen1030 再次更新master分支尝试
提供同设备下其他实体的属性
Smart Air Purifier 4 Lite, zhimi.airp.rma3. Incorrect PM2.5 diagnostics if the device is turned off.
Is this issue still present in the latest version ?
> File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 202, in send self.__id = payload["id"] TypeError: byte indices must be integers or slices, not str Error comes from upstream dependency [python-miio](https://github.com/rytilahti/python-miio)
新版已修复
- 参考这里: https://deepwiki.com/search/getdevicedata_8b79f112-0567-4701-9cdf-e650a9f727b8 ```yaml action: xiaomi_miot.get_device_data data: entity_id: sensor.your_xiaomi_device type: prop key: temperature time_start: 1620000000 time_end: 1620100000 limit: 5 ```
设备下的任意实体ID即可,如果给了`entity_id`则`did`可选。
- 尝试在只开一台路由器的情况下能不能复现 - 尝试给灯具断电(长按凌动开关)后能不能恢复
提供info实体的完整属性,以及[调试日志](https://github.com/al-one/hass-xiaomi-miot/issues/500#debug)。
Try master branch. ```bash wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash - ```