2021-09-16 07:52:39 ERROR (MainThread) [homeassistant.components.climate] 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 321, in async_update
ATTR_SWING_MODE: state.swing_mode.name.lower(),
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/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
2021-09-16 07:52:39 ERROR (MainThread) [homeassistant.components.climate] 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 321, in async_update ATTR_SWING_MODE: state.swing_mode.name.lower(), File "/config/custom_components/xiaomi_miio_airconditioningcompanion/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