core: MyQ API changed and is broken on all versions

The problem

MyQ shows unavailable

Environment

HA Core on RPi4 Home Assistant 0.109.4

  • Home Assistant Core release with the issue: Home Assistant 0.109.4
  • Last working Home Assistant Core release (if known): 0.108.x
  • Operating environment (Home Assistant/Supervised/Docker/venv): HA
  • Integration causing this issue: MyQ
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/myq/

Problem-relevant configuration.yaml

None, config flow. Shows unexpected error when I click submit.

Traceback/Error logs

2020-05-05 13:29:10 ERROR (MainThread) [homeassistant.components.myq.config_flow] Unexpected exception
  File "/usr/src/homeassistant/homeassistant/components/myq/config_flow.py", line 50, in async_step_user
  File "/usr/src/homeassistant/homeassistant/components/myq/config_flow.py", line 30, in validate_input
    await pymyq.login(data[CONF_USERNAME], data[CONF_PASSWORD], websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 167, in login
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 124, in authenticate
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 140, in update_device_info
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 83, in request
2020-05-05 13:32:07 ERROR (MainThread) [homeassistant.components.myq.config_flow] Unexpected exception
  File "/usr/src/homeassistant/homeassistant/components/myq/config_flow.py", line 50, in async_step_user
  File "/usr/src/homeassistant/homeassistant/components/myq/config_flow.py", line 30, in validate_input
    await pymyq.login(data[CONF_USERNAME], data[CONF_PASSWORD], websession)
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 167, in login
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 124, in authenticate
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 140, in update_device_info
  File "/usr/local/lib/python3.7/site-packages/pymyq/api.py", line 83, in request


Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 27
  • Comments: 18 (6 by maintainers)

Most upvoted comments

PLEASE STOP POSTING “ME TOO” COMMENTS. Continuing to do so will lock this issue. Instead, if you merely want to confirm that you are seeing the same issue, please add a 👍 emoji to this message.

Fixed here https://github.com/arraylabs/pymyq/pull/35

Needs @arraylabs or someone with access to review.

I deleted my MyQ integration thinking it was something screwy on my end. It wasn’t, so DON’T do that!

It will not let me re-add the integration (Unexpected Error). It isn’t bad credentials, as I can log into the phone app, but this may be a tell / sign that the API might be related to an authentication change (since I cannot login).