|
发表于 2021-1-31 16:12:35
|
显示全部楼层
日志详细
Logger: homeassistant.components.climate
Source: custom_components/xiaomi_miio_airconditioningcompanion/climate.py:322
Integration: 空调 (documentation, issues)
First occurred: 下午3:53:45 (1 occurrences)
Last logged: 下午3:53:45
xiaomi_miio_airconditioningcompanion: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 466, in async_device_update
await task
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 322, in async_update
ATTR_FAN_MODE: state.fan_speed.name.lower(),
File "/usr/local/lib/python3.8/site-packages/miio/airconditioningcompanionMCN.py", line 88, in fan_speed
return FanSpeed(speed)
File "/usr/local/lib/python3.8/enum.py", line 339, in __call__
return cls.__new__(cls, value)
File "/usr/local/lib/python3.8/enum.py", line 662, in __new__
raise ve_exc
ValueError: 'unsupport' is not a valid FanSpeed
|
|