🔋 Battery Report : Easy Customize Includes & Excludes, To-Do List, Notifications, + More

:battery: Battery Report with Notification Actions

Author: LTek

🚀 Version 2026.03.18.14c

- Fixed: notification outputs quirks
- Added: Independent To-Do List options (Entity IDs, Friendly Names, Both)
- Recent Fix: To-Do list and No-Issues Confirmation messages

***Features***

📢 Notifications with list of entities with Battery status of Low, Unavailable, Unknown
   - Persistent Web UI dashboard notifications
   - Mobile Device Notifications
   - Optional confirmation message when not battery issues found

⚡ Execution methods
   - Schedule Time and Day(s)
   - Manual trigger via button

🚫️ Entity exclusion options
   - Directly select specific entities
   - Pattern-based exclusions using text strings
   - Case-sensitive matching for precise control
   - Include or Exclude entities with Visability disabled in HA (hidden entities)
   - Some Template Entities may cause problems or errors due to how HA processes them. Exclude those entities if you have problems or disable Visability for them in HA's settings.

📈 Flexible display formats
   - Friendly names only
   - Entity IDs only
   - Combined format (Friendly Name + Entity ID)

🛠 Add to To-Do List 
   - Option for Automatic add to list
   - Notification Action Button to add to list

🐛 Debug Mode (Short-term troubleshooting only)

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

2 Likes

Thanks for the hard work on this, seems to be very close to what im looking for - How would I go about automatically getting the todo list updated with a current list of devices rather than rely on the action button - which for some reason doenst seem to do anything for me but Im guessing thats a app/android issue.

regardless I would love to just have a to do list kept up to date as I have an automation on my google home device which will automatically read out the list of devices as part of a morning routine

think I fixed everything, and added the option to add to the To-Do list automatically.

Just be aware, it will not remove existing To-Do list items, so you may have duplicates created

LMK how it works!

hi Ltek, just tried this blueprint, almost setup nothing but I get the following error:

I just updated the Blueprint as I found a bug in the To-Do list code… see if it works for you now. If not, please report back provide a screenshot and a log entry with the error. thx

hi, sorry for the late response. didn’t get the time to troubleshoot the previous reported issue but I just reimported your new blueprint and it runs without issues now. Thanks!

1 Like

@Ltek Even the 2026.01.22.04d version still have problems with the notification. When there is no devices low battery, the android notification is just “”.

Btw, which variable can I use to get the devices in low_battery state and send them in telegram? ( On report offline I have that {{ offline_devices }} variable that I can use in custom actions}

I’ll try to look at it again soon, I dont have the time at the moment.

Direct Input Variables:

These are user inputs that become variables:

  • notify_title - Notification title
  • notify_okay_message - “No issues” message
  • action_button_to_do - Action button text
  • action_button_cancel - Cancel button text
  • action_button_confirmation_title - Confirmation title
  • action_button_confirmation_message - Confirmation message
  • cancel_action_button_confirmation_message - Cancel confirmation message
  • to_do_task_title - To-Do list task title

Battery Status Variables:

These contain formatted battery status information:

  • all_sensors - All battery issues (low + unavailable/unknown) with battery percentages
  • sensors - Only low battery sensors with percentages
  • unavailable_sensors - Only unavailable/unknown sensors
  • easy_notify_message - The main notification message based on user settings

Simplified Name Lists (without percentages):

  • sensors_names - Only low battery sensor names
  • unavailable_sensors_names - Only unavailable sensor names

Custom Group Variables:

If using custom groups:

  • all_sensors_custom_group - All issues in custom group
  • sensors_custom_group - Low batteries in custom group
  • unavailable_sensors_custom_group - Unavailable in custom group
  • sensors_names_custom_group - Low battery names in custom group
  • unavailable_sensors_names_custom_group - Unavailable names in custom group

Configuration Variables:

  • notify_tag - Notification action tag
  • display_options - Display format setting
  • notify_interruption_level - iOS interruption level
  • notify_sound - iOS notification sound
  • notify_channel - Android notification channel

Boolean Check:

  • has_battery_issues - Returns true /false if any battery issues exist

@jsalas try 2026.01.30.05d just posted

Just wondering if I missed something. I can’t seem to locate the link to the code or file for install. Anybody mind pointing me in the right direction?

fixes the first post, install button is back now.

Hi
Thx for your hard work!

I’ve several troubles with your blueprint:

  • Notification to android is working but no confirmation button is shown
  • Automatically Add to To-Do List is not working
Logger: homeassistant.components.automation.battery_report_with_notification_actions
Quelle: helpers/script.py:2098
Integration: Automation (Dokumentation, Probleme)
Erstmals aufgetreten: 10. Februar 2026 um 00:05:47 (56 Vorkommnisse)
Zuletzt protokolliert: 01:45:08

🔋 Battery Report with Notification Actions: Choose at step 4: Automatically add to To-Do list: Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data['entity_id']
🔋 Battery Report with Notification Actions: Error executing script. Invalid data for choose at pos 4: not a valid value for dictionary value @ data['entity_id']
Logger: homeassistant.components.automation.battery_report_with_notification_actions
Quelle: components/automation/__init__.py:849
Integration: Automation (Dokumentation, Probleme)
Erstmals aufgetreten: 10. Februar 2026 um 00:05:47 (28 Vorkommnisse)
Zuletzt protokolliert: 01:45:08

Error while executing automation automation.battery_report_with_notification_actions: not a valid value for dictionary value @ data['entity_id']

Regards Chris

fixed in Version just posted

2 Likes

Thank you!

Task will be created now but all filter of “message format” will be ignored (“only low batteries” selected; to-do list shows all sensors (low batts and unavailable)

What should “Action Buttons” do in To-Do List section? I don’t see any button (sticky note on web message and android phone message)

little bug on sticky note: Symbol of Battery Report will not be shown.

Sorry, but i don’t understand how to set the initial trigger (button). Must i create a button for this or what? How to make the automation start automatically without any button to press?

try this one…

🚀 Version 2026.02.11.03.10d

- Added: Independent To-Do List Message Format options
- Updated: Streamlined To-Do list output (better use of 255 character limit)
- Fixed: To-Do list and No-Issues Confirmation messages

@maurizio53 updated details/descriptions inside the blueprint explain everything. hope that helps

2 Likes

Thank you!
Runs great and info helps a lot!!!

info: if u’ve checked stick note (android notification), the note will not disappear after hitting a button.

Icon is working

little question: how can I switch from entity id to friendly name for to-do list?

Regards

Hello, thanks for such an amazing work!

I’ve been having issues with notification messages having a line with just two single quotes in the end:


I looked into your code and applied simple fixes to all the problematic locations in there.

You can find my patched version here.

A diff is available here. It doesn’t look great because of the number of very long lines in the code. Let me know if you need any explanations on the edits I’ve made.

Would love to hear your feedback!

update posted…
:rocket: Version 2026.02.12.12c

- Added: Independent To-Do List options (Entity IDs, Friendly Names, Both)
- Fixed: Stray quotes appearing in notification fallback messages
- Fixed: custom_group_combined empty-check when both sensor groups are empty
- Recent Fix: To-Do list and No-Issues Confirmation messages

@EagleWolfpack added Friendly Name option.
bot the button, which button are you tapping, and do you have Sticky enabled? I think with Sticky you need to swipe it away no matter what. Might be the same if there is Action buttons, I dont know.

@konstantin-kelemen thank you for showing me that. I found some other related bugs that can cause that issues. Update, I hope, fixes all those situations. LMK

2 Likes

Thank you!
Works great :slight_smile:

Is there anything I can test for u?