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:
Paulus Schoutsen authored and Pascal Vizeli committed 2018-10-01 16:12:25 +02:00
1 parent 2e6346ca43
commit fbc1c41673
4 files changed
+133 -80

No files matched your search

+1 -1
View File
@@ -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