Files
ha-core/tests/components
Brenan Kelley 458c5ae657 Add statistics keep_last_sample option (#88655)
* introduce preserve last value option

* improve comments

* add unit test

* skip scheduling purge on a preserved value

* do not schedule sensor update if preserving last value

* fix unit test to use new mock time pattern

pattern introduced in https://github.com/home-assistant/core/pull/93499

* rename preserve_last_val to keep_last_sample

* add keep_last_sample config validation
2024-02-27 13:17:05 +01:00
..
2024-02-19 11:59:08 +01:00
2024-02-20 08:46:02 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-05 08:58:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-26 19:04:25 +01:00
2024-02-07 15:13:42 -06:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-22 10:39:53 +01:00
2024-02-19 11:59:08 +01:00
2024-02-09 14:10:59 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-11 12:01:12 +01:00
2024-02-19 11:59:08 +01:00
2024-02-24 16:20:59 -05:00
2024-02-19 11:59:08 +01:00
2024-02-13 21:31:56 +01:00
2024-02-19 11:59:08 +01:00
2024-02-15 15:04:32 +01:00
2024-02-26 17:10:11 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00
2024-02-19 11:59:08 +01:00