@marthocoo So, I did the above. The kuna component still doesn’t load.
Here are the logs that have kuna in it:
2019-04-14 22:40:50 WARNING (MainThread) [homeassistant.loader] You are using a custom component for kuna which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-04-14 22:41:12 WARNING (MainThread) [homeassistant.setup] Setup of kuna is taking over 10 seconds.
2019-04-14 22:41:12 ERROR (MainThread) [custom_components.kuna] Error while authenticating Kuna:
2019-04-14 22:41:12 ERROR (MainThread) [homeassistant.setup] Error during setup of component kuna
Traceback (most recent call last):
File "/config/custom_components/kuna/__init__.py", line 194, in authenticate
raise err
File "/config/custom_components/kuna/__init__.py", line 187, in authenticate
await self.account.authenticate()
File "/config/custom_components/kuna/pykuna/kuna.py", line 34, in authenticate
result = await self._request("post", AUTH_ENDPOINT, json=json)
File "/config/custom_components/kuna/pykuna/kuna.py", line 80, in _request
allow_redirects=allow_redirects,
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1005, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 476, in _request
timeout=real_timeout
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 522, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 854, in _create_connection
req, traces, timeout)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 974, in _create_direct_connection
req=req, client_error=client_error)
File "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 924, in _wrap_create_connection
await self._loop.create_connection(*args, **kwargs))
File "uvloop/loop.pyx", line 1869, in create_connection
File "uvloop/loop.pyx", line 1858, in uvloop.loop.Loop.create_connection
concurrent.futures._base.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 151, in _async_setup_component
hass, processed_config)
File "/config/custom_components/kuna/__init__.py", line 82, in async_setup
if not await kuna.authenticate():
File "/config/custom_components/kuna/__init__.py", line 195, in authenticate
return False
File "/usr/local/lib/python3.7/site-packages/async_timeout/__init__.py", line 55, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.7/site-packages/async_timeout/__init__.py", line 92, in _do_exit
raise asyncio.TimeoutError
concurrent.futures._base.TimeoutError
Thanks for your help.