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

新版固件报错 #5

Open
zz1123720 opened this issue Dec 24, 2020 · 1 comment
Open

新版固件报错 #5

zz1123720 opened this issue Dec 24, 2020 · 1 comment

Comments

@zz1123720
Copy link

Logger: homeassistant.components.climate
Source: custom_components/xiaomi_miio_airconditioningcompanion/miio/airconditioningcompanionMCN.py:54
Integration: 空调 (documentation, issues)
First occurred: 下午11:40:52 (1 occurrences)
Last logged: 下午11:40:52

xiaomi_miio_airconditioningcompanion: Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_platform.py", line 359, in _async_add_entity
await entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 466, in async_device_update
await task
File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 319, in async_update
ATTR_LOAD_POWER: state.load_power,
File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miio_airconditioningcompanion/miio/airconditioningcompanionMCN.py", line 54, in load_power
return int(self.data[-1])
IndexError: list index out of range

@EugeneLiu
Copy link
Owner

I use 2.1.8_0003 version,no problem.

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

2 participants