1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-14 07:50:01 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Marc Mueller
59a6035d3f Add empty line after module docstring [j-m] () 2024-03-08 09:01:29 -05:00
Marc Mueller
a70ec64408 Update mypy to 1.7.0 () 2023-11-11 23:31:04 +01:00
J. Nick Koston
2530031454 Use cache to lookup event type ids in logbook ()
noticed we can speed this up while looking at
https://github.com/home-assistant/core/issues/91514

Note: this will not fix that issue as there is more going on there
2023-04-17 23:40:03 -04:00
J. Nick Koston
d21433b6af Ensure filters are generated inside the lambda locks () 2023-03-28 20:50:10 +02:00
J. Nick Koston
f27d73fc34 Remove legacy event lookups from logbook ()
Events recorded with Home Assistant 2022.5.x or older will no
longer display context information in the logbook
2023-03-19 22:05:07 -04:00
J. Nick Koston
170a13302c Reduce overhead to store context ids in the database () 2023-03-08 14:51:45 -10:00
Erik Montnemery
94519de8dd Upgrade SQLAlchemy to 2.0.2 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 08:17:32 -06: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
00a79635c1 Revert "Remove sqlalchemy lambda_stmt usage from history, logbook, and statistics ()" () 2022-06-23 13:59:55 -05:00
J. Nick Koston
7ae8bd5137 Remove sqlalchemy lambda_stmt usage from history, logbook, and statistics () 2022-06-07 16:15:50 -07:00
Erik Montnemery
5f2b4001f3 Separate recorder database schema from other classes ()
* Separate recorder database schema from other classes

* fix logbook imports

* migrate new tests

* few more

* last one

* fix merge

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-07 14:41:43 +02:00
J. Nick Koston
bfa7693d18 Fixes for logbook filtering and add it to the live stream () 2022-05-25 15:17:08 -10:00
J. Nick Koston
c4fc84ec1e Add support for selecting device_ids from the logbook ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 01:58:30 -05:00