Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value Error in Fan Speed #133

Open
sephrioth opened this issue Jul 30, 2021 · 0 comments
Open

Value Error in Fan Speed #133

sephrioth opened this issue Jul 30, 2021 · 0 comments

Comments

@sephrioth
Copy link

sephrioth commented Jul 30, 2021

Recently I received a lots of error log like this... Both HA and Integration are latest version.
And the Climate target temperature has been set to over 200 degree..

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 401, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 609, in async_device_update
raise exc
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 357, in async_update
ATTR_FAN_MODE: state.fan_speed.name.lower(),
File "/usr/local/lib/python3.9/site-packages/miio/airconditioningcompanion.py", line 213, in fan_speed
return FanSpeed(speed)
File "/usr/local/lib/python3.9/enum.py", line 360, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.9/enum.py", line 678, in new
raise ve_exc
ValueError: 4 is not a valid FanSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant