ehendrix23 ae85baf396 Restrict recorder query to include max age (#18231)
* Update query to include maxAge

Updated the query from recorded to include MaxAge if set; reducing the amount of records retrieved that would otherwise be purged anyway for the sensor.

* Added newline in docstring

Added newline in docstring.

* Add test + small fix

Added test to ensure query works correctly
Query should be greater then or equal instead of greater then. Fixed.

* Fixed lint issue

Fixed lint issue.
2018-11-08 23:08:36 +00:00
..
2018-10-21 20:34:28 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-10-14 17:12:34 +02:00
2018-10-02 07:32:03 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-17 08:38:03 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-11-04 09:50:00 +01:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-20 22:07:47 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-09-16 01:17:47 +02:00
2018-08-24 16:37:30 +02:00
2018-10-19 23:41:04 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-10-01 08:55:43 +02:00
2018-10-15 12:24:21 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-11 07:43:15 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-29 21:13:01 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-20 15:30:10 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 14:44:11 +02:00
2018-10-01 08:55:43 +02:00
2018-09-01 23:30:34 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 16:37:30 +02:00
2018-10-15 13:21:21 -06:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-16 10:06:00 +02:00
2018-08-24 16:37:30 +02:00
2018-11-06 12:34:11 +01:00
2018-10-01 08:55:43 +02:00
2018-10-09 22:37:50 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-11-07 08:52:51 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-11-01 13:25:45 +01:00
2018-11-08 19:19:30 +01:00
2018-10-01 08:55:43 +02:00
2018-07-18 10:54:54 +02:00
2018-08-24 16:37:30 +02:00
2018-10-25 23:15:20 +03:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-04 09:29:49 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-10-02 11:03:09 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-11-08 09:27:51 +01:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-10-01 08:55:43 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00
2018-08-24 16:37:30 +02:00