So I noticed my logbooks is broken in the latest version. Worked fine before 2021.2.
Error:
Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:43
Integration: Recorder (documentation, issues)
First occurred: 19:58:53 (1 occurrences)
Last logged: 19:58:53
Error executing query: 'event'
And a Deconz error that comes together with it:
Logger: aiohttp.server
Source: components/deconz/logbook.py:110
First occurred: 19:58:53 (1 occurrences)
Last logged: 19:58:53
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 118, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 172, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/logbook/__init__.py", line 251, in get
return await hass.async_add_executor_job(json_events)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/logbook/__init__.py", line 240, in json_events
_get_events(
File "/usr/src/homeassistant/homeassistant/components/logbook/__init__.py", line 474, in _get_events
return list(
File "/usr/src/homeassistant/homeassistant/components/logbook/__init__.py", line 337, in humanify
data = describe_event(event)
File "/usr/src/homeassistant/homeassistant/components/deconz/logbook.py", line 134, in async_describe_deconz_event
action, interface = _get_device_event_description(
File "/usr/src/homeassistant/homeassistant/components/deconz/logbook.py", line 110, in _get_device_event_description
if event == event_dict[CONF_EVENT]:
KeyError: 'event'
Any idea? Can’t find anything about it.