找回密码
 立即注册

扫一扫,微信登陆

搜索
查看: 19551|回复: 15

[业界动态] 提示:冬天来了,syssi大佬更新了一大票小米的插件!

[复制链接]

68

主题

234

回帖

1970

积分

金牌会员

积分
1970
金钱
1668
HASS币
0
发表于 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'
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-7-6 13:07 , Processed in 0.375519 second(s), 7 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表