Skip to content

Question about polling behavior in the battery low integration #2494

Answered by andrew-codechimp
kitopopo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, there's a few things to explain on this

  1. The interview every 24 hours after starting HA (and immediately on the start) is for device discovery, this is when it downloads the latest battery library and checks if you have any new devices that are in the library.

  2. Assuming you have a typical device that has a Battery+ and Battery Low sensor added via battery notes, these will be updated whenever there is a change by the real battery entity.

  3. A battery note with a Battery Low template will watch the entity within the template and change low when that entity value changes causing the template to return true.

The battery_notes_battery_threshold and battery_notes_battery_increased event…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kitopopo
Comment options

@andrew-codechimp
Comment options

Answer selected by andrew-codechimp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants