Logbook context (#16937)
* Convert logbook to use attr * Add context to events * Enhance logbook * Lint * Fix logbook entry * Don't use intermediary classes for logbook entries
This commit is contained in:
1 parent
2e6346ca43
commit
fbc1c41673
4 files changed
+133
-80
No files matched your search
@@ -186,6 +186,6 @@ def _logbook_filtering(hass, last_changed, last_updated):
|
||||
|
||||
# pylint: disable=protected-access
|
||||
events = logbook._exclude_events(events, {})
|
||||
list(logbook.humanify(events))
|
||||
list(logbook.humanify(None, events))
|
||||
|
||||
return timer() - start
|
||||
Reference in new issue
Block a user