|
发表于 2019-10-26 21:32:08
|
显示全部楼层
本帖最后由 mr-one 于 2019-10-26 21:40 编辑
更新後出現error,求大神們幫忙, 謝!!
- platform: xiaomi_miio_fan
name: "kaylie_room_fan"
host: 192.168.0.111
token: 'eca7c4d507bc84003907bb358a02a267'
2019-10-26 21:39:02 ERROR (SyncWorker_2) [miio.fan] Count (17) of requested properties does not match the count (2) of received values.
2019-10-26 21:24:04 ERROR (MainThread) [homeassistant.components.fan] xiaomi_miio_fan: Error on device update!
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/app/homeassistant/helpers/entity.py", line 346, in async_device_update
await self.async_update()
File "/config/custom_components/xiaomi_miio_fan/fan.py", line 491, in async_update
self._oscillate = state.oscillate
File "/usr/local/lib/python3.7/site-packages/miio/fan.py", line 147, in oscillate
return self.data["angle_enable"] == "on"
KeyError: 'angle_enable' |
|