Hi All,
I’m getting these errors every few seconds in HA. I do have nodered connected, but i’m not seeing any errors in that.
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/connection.py", line 66, in async_handle
handler(self.hass, self, schema(msg))
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 102, in handle_subscribe_events
if not connection.user.is_admin:
AttributeError: 'NoneType' object has no attribute 'is_admin'
Log Details (ERROR)
Tue Dec 18 2018 08:14:33 GMT-0800 (Pacific Standard Time)
Error handling message: {'id': 7188, 'type': 'subscribe_events'}
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/connection.py", line 66, in async_handle
handler(self.hass, self, schema(msg))
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 102, in handle_subscribe_events
if not connection.user.is_admin:
AttributeError: 'NoneType' object has no attribute 'is_admin'`
I have the exact same problem, but I do not understand how to fix it. I am not using nodered tho, I have only a RPi with Hassbian and Appdeamon (with HADashboard).
Could someone give me more detail on the procedure ?
Also, why isn’t there an option to disable auth all together ? Since it’s implementation I have only had issues with it, and as my instance is not accessible from outside of my network, I don’t really care about auth. On top of that, I only use browsers that do not store cookies or connection data, so each time I want to access HA I need to input the password. It’s really annoying.