|
本帖最后由 ptlzx 于 2019-4-22 19:11 编辑
xiaomi_miio_airconditioningcompanion
Mon Apr 22 2019 18:59:39 GMT+0800 (CST)
xiaomi_miio_airconditioningcompanion: Error on device update!ValueError: 4 is not a valid FanSpeedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/app/homeassistant/helpers/entity.py", line 377, in async_device_update await self.async_update() File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 271, in async_update ATTR_FAN_MODE: state.fan_speed.name.lower(), File "/usr/local/lib/python3.7/site-packages/miio/airconditioningcompanion.py", line 225, in fan_speed return FanSpeed(speed) File "/usr/local/lib/python3.7/enum.py", line 310, in __call__ return cls.__new__(cls, value) File "/usr/local/lib/python3.7/enum.py", line 564, in __new__ raise exc File "/usr/local/lib/python3.7/enum.py", line 548, in __new__ result = cls._missing_(value) File "/usr/local/lib/python3.7/enum.py", line 577, in _missing_ raise ValueError("%r is not a valid %s" % (value, cls.__name__))ValueError: 4 is not a valid FanSpeed
mi_acpartner
这个插件也不行,更早就挂了。
|
|