vespuccio
(vespuccio)
December 8, 2025, 2:23pm
1
The suggested way to monitor the battery status is with an automation:
trigger:
- platform: numeric_state
entity_id: my_entity_id
below: 20
action:
- service: notify.mobile_app_your_phone
data:
title: "Low Battery Alert"
message: "{{ trigger.to_state.name }} is at {{ trigger.to_state.state }}% battery."`
but this requires me to setup an automation for each single device.
Is there a way to monitor all devices with a blacklist for some that I might not want?
What about availability as well?
I’ve seen solutions that require a template for each device as well, which is infeasible. I’d like for it to work for newly added devices as well
123
(Taras)
December 8, 2025, 2:32pm
2
You may wish to examine this custom integration.
https://codechimp.org/HA-Battery-Notes/
Related discussion topic:
I created a new custom integration for #HomeAssistant that allows you to attach a note to an existing device to indicate the battery type it takes, which then shows up in the Diagnostic section of the device. This allows me to go pre-armed with the right battery when a battery is getting low, which shows up using an auto-entities list on my main dashboard.
Full details here on how to add it either via a HACS custom repository or manually
[battery-notes-screenshot]
Mar1us
(Mar1us)
December 8, 2025, 2:39pm
3
Saoshen
(Saoshen)
December 8, 2025, 3:12pm
4
and you can use both of those above at the same time
Unfortunately, your monitoring results with whichever method you decide to use, will only be as reliable as the reporting from the actual device is.
And that’s where many of my struggles with replacing batteries in time come from:
No matter, if it’s an Aqara, Sonoff, or Philips Hue device, there’s always a few that keep reporting 100% battery charge until they stop working because they completely ran out of juice