mirror of
https://github.com/home-assistant/core.git
synced 2025-05-30 10:47:06 +00:00

* 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