Hi all,
After the latest update 83.3 I started to get this error and I can’t open my lovelace anymore.
It just asks me to reload ui-lovelace - but no luck.
Here is the error:
Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 16, in _handle_async_response
await func(hass, connection, msg)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 476, in send_with_error_handling
result = await func(hass, connection, msg)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 508, in websocket_lovelace_config
return await hass.async_add_executor_job(load_config, hass)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 160, in load_config
for card in view.get('cards', []):
TypeError: 'NoneType' object is not iterable
Anyone know why and how to fix it ?
EDIT: I just tried running the lovelace plugin so it generated a new ui-lovelace file and now it does work again.
Unfortunately when I paste the old code in again it fails. But it was running just fine on 0.82.0…
Thanks…