You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything was fine if i comment out the line 191.
home-assistant = 0.52.1 (on rpi3)
mirobo = 0.1.4
2017-09-03 08:34:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 235, in _step
result = coro.send(value)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 210, in async_add_entity
yield from entity.async_update()
File "/home/homeassistant/.homeassistant/custom_components/fan/xiaomi_airpurifier.py", line 191, in async_update
ATTR_MOTOR_SPEED: state.motor_speed
File "/srv/homeassistant/lib/python3.4/site-packages/mirobo/airpurifier.py", line 166, in motor_speed
return self.data["motor1_speed"]
KeyError: 'motor1_speed'
The text was updated successfully, but these errors were encountered:
Everything was fine if i comment out the line 191.
home-assistant = 0.52.1 (on rpi3)
mirobo = 0.1.4
The text was updated successfully, but these errors were encountered: