Commit graph

14 commits

Author SHA1 Message Date
epenet
38a6e666a7
Add missing return type to some test functions () 2024-06-14 08:26:45 +02:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] () 2024-03-08 14:55:15 +01:00
J. Nick Koston
5dac5d5c7e
Refactor logbook helpers to reduce splits and lookups ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-01-26 20:07:24 -10:00
J. Nick Koston
b76551cf35
Reduce number of columns selected for logbook () 2023-04-22 14:25:22 +02:00
J. Nick Koston
56a6244d90
Remove legacy context lookup implementation from logbook ()
* Remove legacy context lookup implemention from logbook

This object can now be replaced with a simple dict

* Remove legacy context lookup implemention from logbook

This object can now be replaced with a simple dict

* scope

* fix order issue
2023-04-19 21:54:34 -04:00
J. Nick Koston
01e1221443
Refactor logbook data to use a dataclass () 2023-03-11 12:45:27 +01:00
J. Nick Koston
170a13302c
Reduce overhead to store context ids in the database () 2023-03-08 14:51:45 -10:00
J. Nick Koston
b8a1537b58
Improve performance of fetching and storing history and events with the database () 2023-01-02 13:26:08 -10:00
J. Nick Koston
457c7a4ddc
Fix incompatiblity with live logbook and google_assistant () 2022-06-05 19:06:49 -10:00
J. Nick Koston
9c3f949165
Add live streaming logbook websocket endpoint ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-22 14:57:54 -05:00
J. Nick Koston
663f6f8340
Complete refactoring of logbook humanify () 2022-05-13 14:56:16 -07:00
J. Nick Koston
04af9698d3
Add logbook/get_events websocket endpoint ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-11 22:28:06 -05:00
Erik Montnemery
347193055e
Rename logbook humanify function ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 23:10:26 +03:00
J. Nick Koston
24d7a464e1
Refactor logbook to reduce overhead and complexity () 2022-05-08 21:47:26 -07:00