Home Assistant release with the issue:
0.92.x
Last working Home Assistant release (if known):
0.91.x
Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian GNU/Linux 9.4
Component/platform:
https://www.home-assistant.io/components/myq/
Description of problem:
Since upgrading to 0.92.x the MyQ Cover component generates an error and the garage door can no longer be controlled. I have changed nothing about my configuration other than to upgrade Home Assistant.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- platform: myq
username: !secret myq_username
password: !secret myq_password
type: chamberlain
Traceback (if applicable):
May 1 20:25:12 skynet hass[10129]: #033[31m2019-05-01 20:25:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1648645968] Expecting value: line 1 column 1 (char 0)#033[0m
May 1 20:25:12 skynet hass[10129]: Traceback (most recent call last):
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
May 1 20:25:12 skynet hass[10129]: connection.context(msg))
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1138, in async_call
May 1 20:25:12 skynet hass[10129]: self._execute_service(handler, service_call))
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
May 1 20:25:12 skynet hass[10129]: yield self # This tells Task to wait for completion.
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
May 1 20:25:12 skynet hass[10129]: future.result()
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
May 1 20:25:12 skynet hass[10129]: raise self._exception
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
May 1 20:25:12 skynet hass[10129]: result = coro.send(None)
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1160, in _execute_service
May 1 20:25:12 skynet hass[10129]: await handler.func(service_call)
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 194, in handle_service
May 1 20:25:12 skynet hass[10129]: required_features
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 316, in entity_service_call
May 1 20:25:12 skynet hass[10129]: future.result() # pop exception if have
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
May 1 20:25:12 skynet hass[10129]: raise self._exception
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
May 1 20:25:12 skynet hass[10129]: result = coro.send(None)
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 337, in _handle_service_platform_call
May 1 20:25:12 skynet hass[10129]: await getattr(entity, func)(**data)
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/myq/cover.py", line 103, in async_open_cover
May 1 20:25:12 skynet hass[10129]: await self._device.open()
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/pymyq/device.py", line 184, in open
May 1 20:25:12 skynet hass[10129]: if not await self._set_state(1):
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/pymyq/device.py", line 145, in _set_state
May 1 20:25:12 skynet hass[10129]: 'AttributeValue': state,
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/pymyq/api.py", line 151, in _request
May 1 20:25:12 skynet hass[10129]: return await resp.json(content_type=None)
May 1 20:25:12 skynet hass[10129]: File "/srv/hass/lib/python3.5/site-packages/aiohttp/client_reqrep.py", line 1036, in json
May 1 20:25:12 skynet hass[10129]: return loads(stripped.decode(encoding))
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
May 1 20:25:12 skynet hass[10129]: return _default_decoder.decode(s)
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
May 1 20:25:12 skynet hass[10129]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
May 1 20:25:12 skynet hass[10129]: File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
May 1 20:25:12 skynet hass[10129]: raise JSONDecodeError("Expecting value", s, err.value) from None
May 1 20:25:12 skynet hass[10129]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)#033[0m
My issue started today as well. However I have not upgraded. I'm still on 0.91.1. I also noticed that after seeing this error I went to the myq app on my iphone. While it does still work there is a notification saying that you must download a new app and that the existing app is no longer supported.
I've been having issues since yesterday as well
This has already been fixed and will make it in 0.92.2 (which I pray arrives shortly). https://github.com/home-assistant/home-assistant/pull/23600
This issue can be closed, a fix will be in 0.92.2.
Dupe of https://github.com/home-assistant/home-assistant/issues/23582
Duplicate of #23582
I'm having this issue now, frequently get into "entity not found" status with MyQ
Most helpful comment
My issue started today as well. However I have not upgraded. I'm still on 0.91.1. I also noticed that after seeing this error I went to the myq app on my iphone. While it does still work there is a notification saying that you must download a new app and that the existing app is no longer supported.