I updated from 0.109.6 to 0.110.1 and the opengarage integration failed on restart (log below). The garage door still functions via the opengarage.io android app.
Anyone else having a similar issue?
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/opengarage/cover.py", line 73, in setup_platform
async_get_clientsession(hass),
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 47, in async_get_clientsession
hass.data[key] = async_create_clientsession(hass, verify_ssl)
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 68, in async_create_clientsession
connector = _async_get_connector(hass, verify_ssl)
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 207, in _async_get_connector
connector = aiohttp.TCPConnector(enable_cleanup_closed=True, ssl=ssl_context)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 731, in __init__
loop=loop)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 229, in __init__
loop = get_running_loop(loop)
File "/usr/local/lib/python3.7/site-packages/aiohttp/helpers.py", line 268, in get_running_loop
loop = asyncio.get_event_loop()
File "/usr/local/lib/python3.7/asyncio/events.py", line 644, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'SyncWorker_10'.
How do you apply said fix. I get same error even after upgrade to 112.
2020-05-25 06:50:52 ERROR (MainThread) [homeassistant.components.cover] Error while setting up opengarage platform for cover
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/opengarage/cover.py”, line 73, in setup_platform
async_get_clientsession(hass),
File “/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py”, line 47, in async_get_clientsession
hass.data[key] = async_create_clientsession(hass, verify_ssl)
File “/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py”, line 68, in async_create_clientsession
connector = _async_get_connector(hass, verify_ssl)
File “/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py”, line 207, in _async_get_connector
connector = aiohttp.TCPConnector(enable_cleanup_closed=True, ssl=ssl_context)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 731, in init
loop=loop)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 229, in init
loop = get_running_loop(loop)
File “/usr/local/lib/python3.7/site-packages/aiohttp/helpers.py”, line 268, in get_running_loop
loop = asyncio.get_event_loop()
File “/usr/local/lib/python3.7/asyncio/events.py”, line 644, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread ‘SyncWorker_17’.
From my (limited) understanding of github, the change has been made but it hasn’t got to the stable branch yet. I’ll wait for the 0.110.3 and see what happens.