Core: MyQ Cover No Longer Receiving Status

Created on 22 Sep 2018  路  5Comments  路  Source: home-assistant/core

Home Assistant release with the issue: 0.78.1

Last working Home Assistant release (if known): 0.77.1 (at least it was working when I used this version)

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Component/platform:

MyQ Cover

Description of problem:
My MyQ Cover no longer is responding properly. The up button (which is active) allows me to rise my garage. But the open/close cover icon never changes (which it used to) and the down button is always disabled. I also see the following error.

Error doing job: Task exception was never retrieved

Log Details (ERROR)
Fri Sep 21 2018 21:50:43 GMT-0400 (Eastern Daylight Time)

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 235, in async_update_ha_state
    state = self.state
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cover/__init__.py", line 220, in state
    if self.is_opening:
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cover/myq.py", line 108, in is_opening
    return MYQ_TO_HASS[self._status] == STATE_OPENING
KeyError: 'open'

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

cover:
  - platform: myq
    username: myemail
    password: mypassword
    type: chamberlain

Traceback (if applicable):

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 235, in async_update_ha_state
    state = self.state
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cover/__init__.py", line 220, in state
    if self.is_opening:
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cover/myq.py", line 108, in is_opening
    return MYQ_TO_HASS[self._status] == STATE_OPENING
KeyError: 'open'

Additional information:
I've tried removing and reading the component, multiple restarts, etc. This was working great for weeks, and then I upgraded to 0.78 and it stopped working.

Thanks for all you do.

Most helpful comment

Oops I see that there is a fix in dev:
https://github.com/home-assistant/home-assistant/commit/60dfd680834ef3f384f27756d26cdf625ef37413

Looking forward to it getting into a release.

Thanks for all the hard work.

All 5 comments

Oops I see that there is a fix in dev:
https://github.com/home-assistant/home-assistant/commit/60dfd680834ef3f384f27756d26cdf625ef37413

Looking forward to it getting into a release.

Thanks for all the hard work.

when you think they will push this?

Hopefully soon. Seems like they make daily releases. But I have no idea. I guess I'll just use the MyQ app in the meantime.

Duplicate of https://github.com/home-assistant/home-assistant/issues/16680. The fix should go out in 0.79. There's already a 0.79 beta released for those inclined.

I can confirm this fix is working well in the beta.

Was this page helpful?
0 / 5 - 0 ratings