-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Add swing mode of a Chigo Air Conditioner #518
Comments
Do you own different air conditions? Does the problematic one support special swing modes? |
I saw from the app, there is no difference between this and other in swing mode ,only on and off. Three air conditioners are of different brands(Panasonic,Midea,Chigo),The brand with problems is Chigo, |
If you change the swing mode does the error change, too? |
yes, I turn off the swing mode, and then restart hassio, the error code is:
|
Could you provide the output of the |
Thanks, The airconditioningcompanion can work perfectly |
Could you provide the |
I have three xiaomi airconditioningcompanion, but one of them can't use after turning on the air conditioner. The error code is:
2019-06-07 02:01:31 ERROR (MainThread) [homeassistant.components.climate] xiaomi_miio_airconditioningcompanion: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 375, in async_device_update
await self.async_update()
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 276, in async_update
ATTR_SWING_MODE: state.swing_mode.name.lower(),
File "/usr/local/lib/python3.7/site-packages/miio/airconditioningcompanion.py", line 215, in swing_mode
mode = int(self.state[5:6])
ValueError: invalid literal for int() with base 10: 'C'
The text was updated successfully, but these errors were encountered: