458c5ae657
* 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 |
||
---|---|---|
.. | ||
__init__.py | ||
manifest.json | ||
sensor.py | ||
services.yaml | ||
strings.json |