MyQ Stopped working in the last 12 hours

The MyQ Integration stopped working last night for me. On restart this morning it logs this error. Any ideas? Looking through threads looks like this happens occasionally, last time was ~6 months ago.

Error while setting up platform myq
Traceback (most recent call last):
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/homeassistant/components/myq/cover.py", line 53, in async_setup_platform
    myq = await login(username, password, websession)
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/pymyq/api.py", line 167, in login
    await api.authenticate(username, password)
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/pymyq/api.py", line 124, in authenticate
    await self.update_device_info()
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/pymyq/api.py", line 140, in update_device_info
    "get", "Accounts/{0}/Devices".format(self.account_id)
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/pymyq/api.py", line 83, in request
    data = await resp.json(content_type=None)
  File "/home/codydaig/homeassistant/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 1040, in json
    return loads(stripped.decode(encoding))
  File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I missed this and I believe it’s ben fixed.

1 Like