MYQ Problem following 2021.8.8 upgrade

MYQ integration not working after 2021.8.8 upgrade. Tried dropping and re-adding the integration which is about the extent of my knowledge. Any ideas?

Have attached the error log:


Logger: homeassistant.config_entries
Source: components/myq/__init__.py:28
First occurred: 10:29:33 PM (1 occurrences)
Last logged: 10:29:33 PM

Error setting up entry [email protected] for myq
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pymyq/request.py", line 136, in _send_request
    resp = await websession.request(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
    message, payload = await self._protocol.read()  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
    await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/myq/__init__.py", line 28, in async_setup_entry
    myq = await pymyq.login(conf[CONF_USERNAME], conf[CONF_PASSWORD], websession)
  File "/usr/local/lib/python3.9/site-packages/pymyq/api.py", line 604, in login
    await api.update_device_info()
  File "/usr/local/lib/python3.9/site-packages/pymyq/api.py", line 544, in update_device_info
    accounts = await self._get_accounts()
  File "/usr/local/lib/python3.9/site-packages/pymyq/api.py", line 511, in _get_accounts
    _, accounts_resp = await self.request(
  File "/usr/local/lib/python3.9/site-packages/pymyq/api.py", line 250, in request
    return await call_method(
  File "/usr/local/lib/python3.9/site-packages/pymyq/request.py", line 228, in request_json
    resp = await self._send_request(
  File "/usr/local/lib/python3.9/site-packages/pymyq/request.py", line 174, in _send_request
    if err.errno in (54, 104) and attempt == 0:
AttributeError: 'ServerDisconnectedError' object has no attribute 'errno'

Sorry @tom_l Please delete this post. I had seen the github issue but no action.

I can delete it if you want but others may find it more easily than the github issue.

1 Like