Erik Montnemery
|
31a787558f
|
Ensure recorder test fixture is setup before hass fixture (#80528)
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
|
2022-10-19 07:58:47 +02:00 |
Erik Montnemery
|
e852c9b012
|
Fix logbook tests (#80264)
* Fix logbook tests
* Correct tests
* Improve tests
|
2022-10-13 17:34:45 +02:00 |
J. Nick Koston
|
14611f9b5c
|
Fix race in logbook websocket test (#78390)
|
2022-09-13 16:40:08 -04:00 |
J. Nick Koston
|
fcb6888f87
|
Start logbook stream faster (#77921)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2022-09-09 17:16:02 -05:00 |
Martin Hjelmare
|
c05905ebda
|
Remove callback decorator from coroutine functions (#75626)
* Remove callback decorator from coroutine functions
* Remove some more callback decorators
|
2022-07-22 19:09:02 +02:00 |
J. Nick Koston
|
a8349a4866
|
Adjust entity filters to make includes stronger than excludes (#74080)
* Adjust entity filters to make includes stronger than excludes
Fixes #59080
* adjust test for stronger entity glob includes
* sync with docs
|
2022-06-28 11:42:51 -05:00 |
J. Nick Koston
|
720768560d
|
Fix devices missing in logbook when all requested entities are filtered (#74073)
|
2022-06-28 08:44:06 +02:00 |
J. Nick Koston
|
f29cc33fa0
|
Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL with logbook (#73918)
* Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL
Fixes #73818
* add cover
|
2022-06-24 15:43:35 +02:00 |
J. Nick Koston
|
e4f354998d
|
Filter out forced updates in live logbook when the state has not changed (#73335)
|
2022-06-10 14:04:43 -07:00 |
J. Nick Koston
|
0b62944148
|
Mark counter domain as continuous to exclude it from logbook (#73101)
|
2022-06-05 21:25:26 -10:00 |
J. Nick Koston
|
457c7a4ddc
|
Fix incompatiblity with live logbook and google_assistant (#73063)
|
2022-06-05 19:06:49 -10:00 |
J. Nick Koston
|
6b2e5858b3
|
Send an empty logbook response when all requested entity_ids are filtered away (#73046)
|
2022-06-05 21:14:47 -07:00 |
J. Nick Koston
|
5b31414225
|
Fix misalignments between sql based filtering with the entityfilter based filtering (#72936)
|
2022-06-02 20:52:53 -07:00 |
J. Nick Koston
|
c6e56c26b3
|
Fix logbook not setting up with an recorder filter that has empty fields (#72869)
|
2022-06-01 22:12:00 -07:00 |
J. Nick Koston
|
5d2326386d
|
Fix logbook spinner never disappearing when all entities are filtered (#72816)
|
2022-06-01 12:33:46 +02:00 |
J. Nick Koston
|
35ee4ad55b
|
Prevent live logbook from sending state changed events when we only want device ids (#72780)
|
2022-05-31 13:08:04 -07:00 |
J. Nick Koston
|
587fd05603
|
Make logbook inherit the recorder filter (#72728)
|
2022-05-30 17:34:32 -07:00 |
J. Nick Koston
|
a43d47fa0b
|
Escape % and _ in history/logbook entity_globs, and use ? as _ (#72623)
Co-authored-by: pyos <pyos100500@gmail.com>
|
2022-05-27 14:38:29 -07:00 |
J. Nick Koston
|
bfa7693d18
|
Fixes for logbook filtering and add it to the live stream (#72501)
|
2022-05-25 15:17:08 -10:00 |
J. Nick Koston
|
1c25e1d7b1
|
Add metadata to logbook live stream websocket endpoint (#72394)
|
2022-05-23 22:37:47 -07:00 |
J. Nick Koston
|
9d95b9ab05
|
Chunk large logbook queries and add an end_time to the api so we stop sending events (#72351)
|
2022-05-23 15:40:00 -07:00 |
J. Nick Koston
|
0248a8710f
|
Always pass the source of the trigger for logbook context messages (#72333)
|
2022-05-23 13:35:45 -05:00 |
J. Nick Koston
|
9c3f949165
|
Add live streaming logbook websocket endpoint (#72258)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2022-05-22 14:57:54 -05:00 |
J. Nick Koston
|
d459a5c66e
|
Include context state in logbook responses to improve localization (#72222)
* Include context state in logbook responses to improve localization
* reduce payload, dont send context_event_type if sending context_state
|
2022-05-20 07:46:01 -07:00 |
J. Nick Koston
|
f06f94ea85
|
Add coverage to ensure we reject 0 length logbook filters (#72124)
|
2022-05-19 08:59:06 -07:00 |
J. Nick Koston
|
272e65f56d
|
Fix device_ids being filtered when entities also specified in the logbook (#72122)
|
2022-05-18 23:27:31 -05:00 |
J. Nick Koston
|
c4fc84ec1e
|
Add support for selecting device_ids from the logbook (#72039)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2022-05-18 01:58:30 -05:00 |
Paulus Schoutsen
|
5433c0a535
|
Make sure empty get_events results is always a list (#72021)
|
2022-05-17 10:43:58 -07:00 |
J. Nick Koston
|
089eb9960a
|
Reduce logbook websocket payload size and parse json attributes via the DBM (#71895)
|
2022-05-15 20:48:57 -07:00 |
J. Nick Koston
|
663f6f8340
|
Complete refactoring of logbook humanify (#71830)
|
2022-05-13 14:56:16 -07:00 |
J. Nick Koston
|
2a2a7a62c5
|
Avoid matching entity_id/domain attributes in logbook when there is no entities_filter (#71825)
|
2022-05-13 13:16:33 -07:00 |
J. Nick Koston
|
24a0007785
|
Add additional context data to logbook events (#71721)
|
2022-05-12 17:21:14 -07:00 |
J. Nick Koston
|
04af9698d3
|
Add logbook/get_events websocket endpoint (#71706)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2022-05-11 22:28:06 -05:00 |
J. Nick Koston
|
81e8d2ab86
|
Significantly improve logbook performance when selecting entities (#71657)
|
2022-05-11 15:27:02 -07:00 |
J. Nick Koston
|
26177bd080
|
Convert logbook to use lambda_stmt (#71624)
|
2022-05-10 08:23:13 -05:00 |
J. Nick Koston
|
d8336a5216
|
Fix missing context_id in script logbook entries (#71602)
|
2022-05-09 15:22:27 -05:00 |
J. Nick Koston
|
2560d35f1c
|
Always show the start and stop event in logbook (#71600)
|
2022-05-09 15:21:21 -05:00 |
Erik Montnemery
|
347193055e
|
Rename logbook humanify function (#71597)
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 (#71509)
|
2022-05-08 21:47:26 -07:00 |
Erik Montnemery
|
203bebe668
|
Include all non-numeric sensor events in logbook (#71331)
|
2022-05-05 13:16:36 -04:00 |
J. Nick Koston
|
b8442d9340
|
Add json decode caching to logbook (#71080)
|
2022-05-01 19:33:31 -05:00 |
Erik Montnemery
|
3016b5fbfc
|
Use recorder fixtures and helpers in tests (#70773)
|
2022-04-26 06:08:00 -10:00 |
Marc Mueller
|
9b9b553521
|
Disable no-self-use [pylint] (#70641)
* Disable no-self-use
* Remove disable comments
|
2022-04-25 07:41:01 -07:00 |
Erik Montnemery
|
28ebab9c5a
|
Simplify waiting for recorder in tests (#70647)
|
2022-04-25 12:04:47 +02:00 |
Erik Montnemery
|
982e314de6
|
Use recorder_mock in tests (#70363)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
|
2022-04-22 19:29:44 -10:00 |
J. Nick Koston
|
4f9df1fd0f
|
Fix logbook tests (#68443)
|
2022-03-20 20:34:02 -07:00 |
J. Nick Koston
|
9215702388
|
Separate attrs into another table (reduces database size) (#68224)
|
2022-03-18 00:23:13 -10:00 |
Paulus Schoutsen
|
08083f399e
|
Convert some tests to async and drop usage get_test_home_assistant (#64394)
* Fix some tests
* Update MS tests
* Convert last logbook tests to async
|
2022-01-18 19:37:17 -08:00 |
Ville Skyttä
|
ce1eda9809
|
Use http.HTTPStatus in components/[ikl]* (#58248)
|
2021-10-22 23:06:18 +02:00 |
Tatham Oddie
|
4fa9871080
|
Fix logbook entity_matches_only query mode (#55761)
The string matching template needs to match the same compact JSON format
as the data is now written in.
|
2021-09-06 13:39:39 -07:00 |