|
求助~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
|
|