I moved over to a docker setup for home assistant over a month ago after using HASSIO for over a year. Things have been running ok, but I restarted the container earlier after trying to add my google cast devices, and now home assistant wont start.
First thing I did was obviously to remove my changes, but still no luck.
Other things I have tried;
- Commenting out all sensors, device_tracker, other items I have added recently
- deleting the 0.85.1 container and forcing to 0.85.0
- Took down / back up all my containers (using docker-compose)
- Rebooted my ubuntu server
- deleted by home-assistant_v2.db
In the logs it says about point (I have two points), but i have removed those from the config and even switched them off, but still get the same.
Logs as follows:
2019-01-18 18:34:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/app/homeassistant/components/point/__init__.py", line 240, in async_added_to_hass
self._update_callback()
File "/usr/src/app/homeassistant/components/sensor/point.py", line 58, in _update_callback
self._value = self.device.sensor(self.device_class)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 217, in sensor
return self._session.read_sensor(self.device_id, sensor_type)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 114, in read_sensor
return res.get('values')[-1].get('value')
IndexError: list index out of range
2019-01-18 18:34:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/app/homeassistant/components/point/__init__.py", line 240, in async_added_to_hass
self._update_callback()
File "/usr/src/app/homeassistant/components/sensor/point.py", line 58, in _update_callback
self._value = self.device.sensor(self.device_class)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 217, in sensor
return self._session.read_sensor(self.device_id, sensor_type)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 114, in read_sensor
return res.get('values')[-1].get('value')
IndexError: list index out of range
2019-01-18 18:34:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/app/homeassistant/components/point/__init__.py", line 240, in async_added_to_hass
self._update_callback()
File "/usr/src/app/homeassistant/components/sensor/point.py", line 58, in _update_callback
self._value = self.device.sensor(self.device_class)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 217, in sensor
return self._session.read_sensor(self.device_id, sensor_type)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 114, in read_sensor
return res.get('values')[-1].get('value')
IndexError: list index out of range
2019-01-18 18:34:30 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 350, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/src/app/homeassistant/components/point/__init__.py", line 240, in async_added_to_hass
self._update_callback()
File "/usr/src/app/homeassistant/components/sensor/point.py", line 58, in _update_callback
self._value = self.device.sensor(self.device_class)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 217, in sensor
return self._session.read_sensor(self.device_id, sensor_type)
File "/usr/local/lib/python3.6/site-packages/pypoint/__init__.py", line 114, in read_sensor
return res.get('values')[-1].get('value')
IndexError: list index out of range
2019-01-18 18:34:30 ERROR (SyncWorker_0) [concurrent.futures] exception calling callback for <Future at 0x7f13f9702048 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 417, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "uvloop/loop.pyx", line 1256, in uvloop.loop.Loop.call_soon_threadsafe
File "uvloop/loop.pyx", line 601, in uvloop.loop.Loop._call_soon
File "uvloop/loop.pyx", line 605, in uvloop.loop.Loop._call_soon_handle
File "uvloop/loop.pyx", line 634, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
2019-01-18 18:34:30 ERROR (SyncWorker_6) [concurrent.futures] exception calling callback for <Future at 0x7f13bed44d30 state=finished raised RuntimeError>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/hive.py", line 83, in setup
load_platform(hass, ha_type, DOMAIN, hivedevice, config)
File "/usr/src/app/homeassistant/helpers/discovery.py", line 130, in load_platform
hass_config))
File "/usr/src/app/homeassistant/core.py", line 245, in add_job
self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
File "uvloop/loop.pyx", line 1256, in uvloop.loop.Loop.call_soon_threadsafe
File "uvloop/loop.pyx", line 601, in uvloop.loop.Loop._call_soon
File "uvloop/loop.pyx", line 605, in uvloop.loop.Loop._call_soon_handle
File "uvloop/loop.pyx", line 634, 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.6/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 417, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "uvloop/loop.pyx", line 1256, in uvloop.loop.Loop.call_soon_threadsafe
File "uvloop/loop.pyx", line 601, in uvloop.loop.Loop._call_soon
File "uvloop/loop.pyx", line 605, in uvloop.loop.Loop._call_soon_handle
File "uvloop/loop.pyx", line 634, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
2019-01-18 18:34:30 ERROR (SyncWorker_2) [concurrent.futures] exception calling callback for <Future at 0x7f13bd358358 state=finished returned NoneType>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 417, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "uvloop/loop.pyx", line 1256, in uvloop.loop.Loop.call_soon_threadsafe
File "uvloop/loop.pyx", line 601, in uvloop.loop.Loop._call_soon
File "uvloop/loop.pyx", line 605, in uvloop.loop.Loop._call_soon_handle
File "uvloop/loop.pyx", line 634, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed
Any ideas? If it is a point issue, can I prevent it from trying to load it?