『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 6452|回复: 1

[基础教程] 求助~0.89更新syssi的空调伴侣插件后报错

[复制链接]

9

主题

382

帖子

3702

积分

论坛元老

Rank: 8Rank: 8

积分
3702
金钱
3320
HASS币
0
发表于 2019-3-19 21:06:54 | 显示全部楼层 |阅读模式
求助~0.89更新syssi的空调伴侣插件后报错
xiaomi_miio_airconditioningcompanion: Error on device update!
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 248, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 346, in async_device_update
    await self.async_update()
  File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 270, in async_update
    ATTR_SWING_MODE: state.swing_mode.name.lower(),
  File "/srv/homeassistant/lib/python3.5/site-packages/miio/airconditioningcompanion.py", line 215, in swing_mode
    return SwingMode(mode)
  File "/usr/lib/python3.5/enum.py", line 241, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.5/enum.py", line 476, in __new__
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 7 is not a valid SwingMode
回复

使用道具 举报

12

主题

327

帖子

1814

积分

论坛技术达人

积分
1814
金钱
1482
HASS币
40
发表于 2019-3-19 23:57:38 | 显示全部楼层
我升级89.2 后 直接报错,刷回88也不行了,Package climate setup failed. Component climate cannot be merged. Expected a dict.
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 20:42 , Processed in 0.070131 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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