|
发表于 2021-9-16 13:23:42
|
显示全部楼层
xiaomi_miio_airconditioningcompanionmcn02: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 633, in async_device_update
await task
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 324, in async_update
ATTR_SWING_MODE: state.swing_mode.name.lower(),
File "/usr/local/lib/python3.9/site-packages/miio/airconditioningcompanionMCN.py", line 97, in swing_mode
return SwingMode(mode)
File "/usr/local/lib/python3.9/enum.py", line 384, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 702, in __new__
raise ve_exc
ValueError: 'unsupport' is not a valid SwingMode |
|