Hi everyone,
I’m new to HASS but think I’m getting along fairly well thanks to the info here. I am stumped on this one though. I’m trying to install the Canary addon but it keeps coming back with this error. I’ve searched and haven’t really seen a fix for it and was wondering if anyone could take a look.
Error during setup of component canary
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 199, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/canary.py”, line 51, in setup
hass.data[DATA_CANARY] = CanaryData(username, password, timeout)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/canary.py”, line 80, in init
self.update()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/init.py”, line 306, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/canary.py”, line 95, in update
self._api.get_latest_readings(device.device_id)
File “/srv/homeassistant/lib/python3.5/site-packages/canary/api.py”, line 113, in get_latest_readings
readings = self.get_readings(device_id)
File “/srv/homeassistant/lib/python3.5/site-packages/canary/api.py”, line 110, in get_readings
return [Reading(data) for data in json]
File “/srv/homeassistant/lib/python3.5/site-packages/canary/api.py”, line 110, in
return [Reading(data) for data in json]
File “/srv/homeassistant/lib/python3.5/site-packages/canary/api.py”, line 278, in init
self._sensor_type = SensorType(data[“sensor_type”][“name”])
File “/usr/lib/python3.5/enum.py”, line 241, in call
return cls.new(cls, value)
File “/usr/lib/python3.5/enum.py”, line 476, in new
raise ValueError(“%r is not a valid %s” % (value, cls.name))
ValueError: ‘battery’ is not a valid SensorType
In another post I saw someone say they fixed it by adding battery and wifi as a sensortype but for the life of me I can’t figure that out. Any insight would be greatly appreciated. Thanks!