Add sensor freshness checks
This commit is contained in:
1 parent
c434f3995d
commit
cea79b6b48
12 files changed
+213
-25
No files matched your search
@@ -91,3 +91,18 @@ API references used to check migration and entity-registry calls:
|
||||
[HA config entries](https://developers.home-assistant.io/docs/config_entries_index/),
|
||||
[config migration](https://developers.home-assistant.io/docs/config_entries_config_flow_handler/#config-entry-migration),
|
||||
[entity registry](https://contributors.home-assistant.io/core/integrations/entity-registry/).
|
||||
|
||||
|
||||
## Follow-up: configurable freshness
|
||||
|
||||
The freshness portion of finding 1 is now addressed: room/weather report-age
|
||||
limits, stale-source fallback, recovery without cross-gap learning and per-source
|
||||
quality reasons are implemented. Defaults are 30/120 minutes and both limits are
|
||||
editable in setup/Options with English and Romanian labels. This supersedes the
|
||||
original audit's statement that stale numeric readings are accepted. Physical
|
||||
measurement timestamps, source alignment, cached-provider detection and HAOS
|
||||
validation remain open. See README for compatibility and safe trial details.
|
||||
|
||||
The suite now has 42 passing offline tests. Compilation with the temporary cache
|
||||
and `git diff --check` pass. The API basis is HA's
|
||||
[state timestamp documentation](https://www.home-assistant.io/docs/configuration/state_object/).
|
||||
Reference in new issue
Block a user