Home Assistant not working unexpectedly

Hello to all,

i woke this morning and HA wasn’t working. I have access to the folder via ftp and also via SSH. Tried hassio host reboot but didn’t work. Every time whenever i’m trying to connect i’m getting " This site can’t be reached". Tried duckdns and local ip as well. Any help? Log is following. Already removed few components that were giving me error

Blockquote 2019-05-13 19:57:59 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for smartir 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-05-13 19:58:01 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for custom_updater 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-05-13 19:58:03 WARNING (MainThread) [homeassistant.components.http] Configuring api_password via the http component has been deprecated. Use the legacy api password auth provider instead. For instructions, see Authentication providers - Home Assistant
2019-05-13 19:58:04 WARNING (MainThread) [homeassistant.components.http.auth] legacy_api_password support has been enabled.
2019-05-13 19:58:05 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=243 from 2019-05-13 16:45:47.473979)
2019-05-13 19:58:07 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for fcm-android 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-05-13 19:58:07 WARNING (MainThread) [homeassistant.components.mqtt] Data in your config entry is going to override your configuration.yaml: {‘broker’: ‘192.168.1.9’, ‘discovery’: True, ‘password’: ‘DVES_PASS’, ‘port’: 1883, ‘username’: ‘DVES_USER’}
2019-05-13 19:58:14 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for trakt 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-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform cast
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.setup] Error during setup of component sensor
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/setup.py”, line 153, in _async_setup_component
hass, processed_config)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/init.py”, line 42, in async_setup
await component.async_setup(config)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 112, in async_setup
await asyncio.wait(tasks, loop=self.hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 363, in wait
return await _wait(fs, timeout, return_when, loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 456, in _wait
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [googledevices] Cancellation error contacting http://192.168.1.12:8008/setup/eureka_info
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform googlehome
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform google
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall google.scan_for_calendars (c:18faf9d9dfa34cd097466698c7806dd9)>
Traceback (most recent call last):
File “/usr/local/lib/python3.7/asyncio/runners.py”, line 43, in run
return loop.run_until_complete(main)
File “uvloop/loop.pyx”, line 1445, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1438, in uvloop.loop.Loop.run_until_complete
File “uvloop/loop.pyx”, line 1347, in uvloop.loop.Loop.run_forever
File “uvloop/loop.pyx”, line 487, in uvloop.loop.Loop._run
File “uvloop/loop.pyx”, line 404, in uvloop.loop.Loop._on_idle
File “uvloop/cbhandles.pyx”, line 68, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 221, in _async_setup_platform
await self._platforms[key].async_setup(platform_config, discovery_info)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 90, in async_setup
await self._async_setup_platform(async_create_setup_task)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 416, 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 “/config/custom_components/trakt/sensor.py”, line 88, in setup_platform
continue_setup_platform(hass, config, token, add_devices, discovery_info)
File “/config/custom_components/trakt/sensor.py”, line 96, in continue_setup_platform
add_devices([TraktUpcomingCalendarSensor(hass, config, token)], True)
File “/config/custom_components/trakt/sensor.py”, line 134, in init
self.update()
File “/config/custom_components/trakt/sensor.py”, line 151, in update
calendar = MyShowCalendar(days=self._days)
File “/config/deps/lib/python3.7/site-packages/trakt/calendar.py”, line 31, in init
self._get()
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 455, in inner
json_data = self._handle_request(‘get’, url)
File “/config/deps/lib/python3.7/site-packages/trakt/core.py”, line 432, in _handle_request
raise self.error_mapresponse.status_code
trakt.errors.OAuthException: Unauthorized - OAuth must be provided

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1147, in _safe_execute
await self._execute_service(handler, service_call)
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1162, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
concurrent.futures._base.CancelledError
2019-05-13 19:58:18 ERROR (MainThread) [pydeconz.websocket] Unexpected error
2019-05-13 19:58:18 ERROR (SyncWorker_0) [concurrent.futures] exception calling callback for <Future at 0x7f81e98518 state=finished raised RuntimeError>
Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py”, line 34, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 173, in schedule_add_entities
update_before_add
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/async
.py", line 202, in run_callback_threadsafe
loop.call_soon_threadsafe(run_callback)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 324, in _invoke_callbacks
callback(self)
File “/usr/local/lib/python3.7/asyncio/futures.py”, line 362, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
2019-05-13 19:58:18 ERROR (SyncWorker_12) [concurrent.futures] exception calling callback for <Future at 0x7f81db2710 state=finished raised RuntimeError>
Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py”, line 34, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 173, in schedule_add_entities
update_before_add
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/async
.py", line 202, in run_callback_threadsafe
loop.call_soon_threadsafe(run_callback)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 324, in _invoke_callbacks
callback(self)
File “/usr/local/lib/python3.7/asyncio/futures.py”, line 362, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
2019-05-13 19:58:18 ERROR (SyncWorker_2) [concurrent.futures] exception calling callback for <Future at 0x7f81db2978 state=finished raised RuntimeError>
Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py”, line 34, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 173, in schedule_add_entities
update_before_add
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/async
.py", line 202, in run_callback_threadsafe
loop.call_soon_threadsafe(run_callback)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 324, in _invoke_callbacks
callback(self)
File “/usr/local/lib/python3.7/asyncio/futures.py”, line 362, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
2019-05-13 19:58:18 ERROR (SyncWorker_13) [concurrent.futures] exception calling callback for <Future at 0x7f81db2be0 state=finished raised RuntimeError>
Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/google/calendar.py”, line 34, in setup_platform
for data in disc_info[CONF_ENTITIES] if data[CONF_TRACK]])
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 173, in schedule_add_entities
update_before_add
File "/usr/local/lib/python3.7/site-packages/homeassistant/util/async
.py", line 202, in run_callback_threadsafe
loop.call_soon_threadsafe(run_callback)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/concurrent/futures/_base.py”, line 324, in _invoke_callbacks
callback(self)
File “/usr/local/lib/python3.7/asyncio/futures.py”, line 362, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File “uvloop/loop.pyx”, line 1261, in uvloop.loop.Loop.call_soon_threadsafe
File “uvloop/loop.pyx”, line 604, in uvloop.loop.Loop._call_soon
File “uvloop/loop.pyx”, line 608, in uvloop.loop.Loop._call_soon_handle
File “uvloop/loop.pyx”, line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

Apparently i had to make a topic to work. Removed the sensor and got it back working. Now i have to set up again the ones that i had problem with !

What do you mean by setup a topic?

I said Make a topic and not setup a topic because the moment I posted my problem here I managed to make it work

Ok, so what did you do to make it work. It’s generally considered good practise to give your solution so that it helps other people with the same problem.

I don’t remember for sure because is old post but I think trakttv component was messing my system.

Do you mean you removed the Trakt component rather finding a solution to fix the Trakt issue?