Ability to read the status for each entity at different time intervals. #1182
Unanswered
szczukot
asked this question in
Experimental ideas
Replies: 1 comment 1 reply
-
|
Pretty sure this is a duplicate already. Also, you can adjust this from the Ui already by making an automation with a time pattern trigger and a homeassistant.update_entity action. |
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
For example, add an attribute to each entity (attr_scan_interval). This attribute would override SCAN_INTERVAL (from integration, if pooling was enabled) for the entity.
SCAN_INTERVAL would still be the default for all entities that do not set a different value.
Each entity can have the ability to change this value via the UI. Of course, this will still be locked to a minimum value (e.g., 5 seconds).
Why is this exciting?
It will reduce the load on the system/cpu/database in terms of the number of readings or written data.
It gives the user the ability to choose intervals - it does not force him to use what is set rigidly in the integration.
This can practically be used in any integration that uses pooling.
Potential use cases
I have some temperature sensors. Some of them have constant values, but others can report changes every few minutes.
I have a printer and I read its status. I'd like to know about errors almost immediately, but the toner status can update every few hours.
I have a 1wire data bus with multiple devices. With the default value, it can't keep up with the data transmission.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions