Automations
Battery Monitoring in Home Assistant: Never Miss a Dead Sensor
Battery devices do not file a resignation letter. They stop reporting, and the house quietly gets dumber — until the night the hallway light stays dark. Here is the monitoring stack that turns dead sensors into a shopping list instead of a surprise.
Published Nov 25, 2026
The short answer
Dead sensors fail silently — the motion sensor does not announce its death, it just stops reporting, and you find out when the automation does not run. Home Assistant already gives you the raw material (battery entities on nearly every device, plus a built-in maintenance page that groups them), and the pattern that actually works has three layers: the maintenance page for a glance, the Battery Notes integration so every alert names the battery type and count, and one automation that warns on low batteries and on devices that have stopped reporting — because the second failure mode is the one that bites.
Layer one: what is already built in
Battery devices expose battery entities: percentage sensors with the battery device class, and on some devices a binary "low battery" sensor instead. Nothing needs installing to see them. Home Assistant's built-in maintenance page already lists battery and problem sensors grouped by device class — it is the zero-setup starting point, and for a small house it may be enough: check it when you check the filters and the smoke-alarm dates.
The standard DIY pattern builds on those entities: a scheduled automation scans every battery sensor, collects the ones under a threshold (20% is the common default), and sends one consolidated notification naming the offenders. The canonical implementation is the community blueprint "Low battery level detection & notification for all battery sensors" (by sbyx, on the Blueprints Exchange) — configurable threshold, exclusions supported, any notification target. It is a community blueprint, not an official one, and it works well.
Layer two: Battery Notes — alerts that tell you what to buy
The difference between a useful alert and an annoying one is information. "Front door sensor: 15%" sends you to a drawer to guess; "Front door sensor: 15% — 1× CR2032, last replaced March" sends you to the right battery. Battery Notes (by andrew-codechimp, installed through the Marketplace) adds that knowledge layer: a battery library keyed by manufacturer and model auto-fills each device's battery type and quantity, and every device gains a battery-plus sensor carrying type, quantity, last-replaced date, and threshold as attributes, plus a battery-replaced button to stamp when you swap cells.
Its automation hooks are the real prize. A threshold event fires when a device crosses its low line — with the battery type and count in the event data, so your notification can add the cell to a shopping list automatically — and it re-fires as a periodic reminder while the device stays low. A replaced event closes the loop. And crucially, a not-reported event fires when a device has not been heard from in too long, which is how the silent deaths surface.
The stated limit, in the developer's own framing: Battery Notes works at the device level. It needs a device with a discoverable battery entity and a manufacturer/model the library can match. Entity-only devices without a proper device entry cannot carry notes, and devices whose batteries never report a percentage are covered only by the not-reported tracking.
The pattern that covers both deaths
- Glance at the maintenance page monthly — it costs nothing.
- Install Battery Notes so alerts carry type, quantity, and last-replaced.
- One automation on the threshold event: persistent notification plus the battery added to your shopping list; dismiss it when the replaced button is pressed.
- One automation on the not-reported event, with a window long enough to forgive sleepy sensors (days, not hours, for devices that report rarely).
That stack converts battery maintenance from archaeology — digging through device pages after something fails — into a shopping list that writes itself.
Official documentation and references
Frequently asked questions
How do I see all my battery levels in one place?
Home Assistant's built-in maintenance page groups battery and problem sensors by device class with no setup. For richer detail — battery type, count, and last-replaced date per device — add the Battery Notes integration from the Marketplace.
What threshold should I use for low-battery alerts?
20% is the common default and a sane start. Raise it for devices that die fast once low (some sensors fall off a cliff under 20%) and for anything security-shaped; lower it for chatty sensors with graceful declines. Battery Notes lets you set thresholds per device.
How do I catch a sensor that died without warning?
Watch for absence, not level: Battery Notes fires a not-reported event when a device has not been heard from within your window. Set the window generously — sleepy sensors may report only a few times a day — and alert on days of silence, not hours.
Does Battery Notes work with every device?
No. It works at the device level and needs a discoverable battery entity plus a manufacturer/model match for its library. Entity-only devices cannot carry notes, and devices that never report a percentage are covered only by not-reported tracking.

