Add sensor field to store expected time between readings/updates #616
Unanswered
BenBarat
asked this question in
Experimental ideas
Replies: 1 comment 1 reply
-
|
In a perfect world a sensor should go into |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your idea
Each and every sensor in HomeAssistant should have an optional parameter that stores an expected maximum time between updates, that if exceeded should be flagged as an error condition that could be tested in code.To be in appropriate units such as seconds, hours, days, etc.
Think of all the scripts and yaml that could be saved if this was standardised across the board.
Why is this exciting?
Think of all the code written to test for sensor activity, or lack thereof, each with their own set of conditions and bugs, and all that could be standardised and automated.
Potential use cases
Look for dead or hung sensors would be easy in code or yaml and scripts.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions