I understand there is configuration changes when moving to 39, which is why I delayed this update until now. Anyways, when I turn on HA with the following config:
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: !secret location_1_latitude
longitude: !secret location_1_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret location_1_elevation
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: !secret time_zone
# customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
# http:
# api_password: !secret http_password
# ssl_certificate: !secret ssl_cert
# ssl_key: !secret ssl_key
# Checks for available updates
updater:
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# View all events in a logbook
logbook:
# Track the sun
sun:
I receive the following error on start up:
2017-05-23 09:06:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/discovery.py", line 119, in scan_devices
None, _discover, netdisco)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/discovery.py", line 145, in _discover
netdisco.scan()
File "/home/homeassistant/.homeassistant/deps/netdisco/discovery.py", line 57, in scan
self.ssdp.scan()
File "/home/homeassistant/.homeassistant/deps/netdisco/ssdp.py", line 38, in scan
self.update()
File "/home/homeassistant/.homeassistant/deps/netdisco/ssdp.py", line 86, in update
entry for entry in scan()
File "/home/homeassistant/.homeassistant/deps/netdisco/ssdp.py", line 270, in scan
return sorted(entries.values(), key=lambda entry: entry.location)
TypeError: unorderable types: NoneType() < str()
When I enable Zwave witht he following addition to my config:
zwave:
usb_path: /dev/ttyACM0
HA will hang during start up at this point:
2017-05-23 09:15:07 INFO (Thread-3) [homeassistant.util.package] Attempting install of python_openzwave==0.4.0.31
I have the AIO installer. I updated it with hass stopped using the following commands:
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/homeassistant_venv/bin/activate
pip3 install --upgrade homeassistant
What did I do wrong, why doesn’t this work?