Same here. I actually forgot I had it enabled since I don’t use it anymore. Everything seemed to come up just fine, but the UI wasn’t loading. There wasn’t anything apparent in the logs at the warn level either. I saw this thread, removed the config, restarted the container, and everything came up as expected.
Anyone here care to explain why we need this “config entry” stuff?
For me it looks like it just makes everything more complicated and less comfortable. I just do not find a way to store my config in a version controll system anymore with this.
So newbies can run through a setup wizard and configure everything - no need for SSH/Samba etc. Supposadly easy to do sensible migrations so OwnTracks changing doesn’t break load of installs
This needs a good solution… I run home assistant as docker container for a reason and i really like a “fallback” when i mess up my config… And i ocassionally do
Short joy, after approx 10 minutes, all devices were apparently away, and also the upload/download sensor seems to fail, spamming my log:
2018-11-29 18:23:28 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_download fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 106, in async_update
await super().async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 54, in async_update
self._speed = await self._api.async_get_current_transfer_rates()
File "/srv/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 217, in async_get_current_transfer_rates
self._rx_latest = data[0]
IndexError: list index out of range
2018-11-29 18:23:28 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_upload_speed fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 88, in async_update
await super().async_update()
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/asuswrt.py", line 54, in async_update
self._speed = await self._api.async_get_current_transfer_rates()
File "/srv/homeassistant/lib/python3.6/site-packages/aioasuswrt/asuswrt.py", line 217, in async_get_current_transfer_rates
self._rx_latest = data[0]
IndexError: list index out of range
upgraded to 0.83 and now HA will not start. Seeing this in the logs. Any ideas?
2018-11-29 11:48:15 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 115, in handle
result = await result
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/api.py", line 85, in get
if not request['hass_user'].is_admin:
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_request.py", line 201, in __getitem__
return self._state[key]
KeyError: 'hass_user'
I just saw that someone else had this error too. Looks to be related to users who have systems that are making calls to HA REST using the Legacy Password. My Node-Red connects to HA’s REST API using the Legacy Password. Going to see if I can re-configure Node-Red to use token instead, but also see a fix has been issued in 83.1 (https://github.com/home-assistant/home-assistant/issues/18783)