No description
| .gitignore | ||
| LICENSE | ||
| low-battery-and-unavailable-check.yaml | ||
| README.md | ||
🔋 Home Assistant – Low Battery & Device Unavailable Check
A Home Assistant Blueprint that periodically checks a defined set of entities for:
- Low battery – numeric battery sensors below a configurable threshold
- Binary battery sensors in state
on(= low) - Unavailable devices (sensors, binary sensors, switches)
Sends a notification (or runs any action) listing all affected devices by name.
✨ Features
- Runs on a configurable time and optional weekday
- Include list (Pflichtfeld): only the selected entities are checked — no accidental alerts from unrelated devices
- Supports
sensor,binary_sensor, andswitchdomains - Fully customizable action (notification, persistent alert, TTS, etc.)
- Uses
{{sensors}}variable in your action to list affected device names
📥 Installation
Option A – Import via URL
Click the button below or copy the raw URL into
Settings → Automations & Scenes → Blueprints → Import Blueprint:
https://raw.githubusercontent.com/YOUR_USERNAME/ha-battery-blueprint/main/low-battery-and-unavailable-check.yaml
Option B – Manual
- Copy
low-battery-and-unavailable-check.yamlinto:config/blueprints/automation/YOUR_FOLDER/low-battery-and-unavailable-check.yaml - Reload automations in Home Assistant.
⚙️ Inputs
| Input | Description | Default |
|---|---|---|
| Battery warning level | Threshold in % below which a sensor is considered low | 20 % |
| Time to test on | Time of day the check runs | 10:00:00 |
| Weekday to test on | 0 = every day, 1 = Monday … 7 = Sunday |
0 |
| Included Sensors (required) | Only these entities are checked. Devices must be expanded to individual entities! | — |
| Actions | What to do when issues are found – use {{sensors}} for the list of affected devices |
— |
📋 Example Action (Mobile Notification)
service: notify.mobile_app_your_phone
data:
title: "🔋 Battery Warning"
message: "Low battery or unavailable: {{ sensors }}"
🙏 Credits
Based on the original blueprint by sbyx.
Extended with include-only filtering and unavailability checks for switches.
📄 License
MIT