Low battery level detection & notification for all battery sensors

How did you add the batteries as secondary info? Got battery notes installed.

2 Likes

Honestly I have not studied your code yet, but is it possible to notify which one is the low battery?

Hi,
I have created an automation using this blueprint quite a while ago. I am now getting an error for the automation as one of the device to be notified no longer valid due to an intentional change on the device. Hence I am trying to update or delete the automation but I am not able to edit the automation in the GUI nor find the automation in yaml.

I have the following lines in my configuration.yaml.
automation manual: !include_dir_merge_list automations/
automation ui: !include automations.yaml

I went through automations.yaml and the yaml files in automations/ but the automation is not listed. Any idea where it is stored ?
Thanks,

This blueprint would be stored in a file in config/blueprints/automation/SgtBatten

To be generic blueprints are installed at config/blueprints/<blueprint_type>/<author>/<blueprint> in this cause blueprint_type is automation

Hi @Patrick1610 , maybe this blueprint does what you need?

Have you checked in the UI?
For a while now, automations are created changed in the UI. Configuration - Automation

Thanks for sharing!

@Sbyx Thanks for this awesome blueprint! I just set it up and it was a piece of cake.

These are brilliant, thanks!

Feature request

I like the blueprint, but the reason why I cannot fully use it for my battery powered devices is because I have devices which does not show the battery status in percentage but with an entity “battery_low” = true entity.

Would be great if the blueprint would also cover battery_low entities.

This works well thanks. I think it should also check for unavailable too in case battery has aleardy died.

Just use the Battery Notes integration and monitor the battery low entities with a template.

I’d second the Battery Notes suggestion. This thread is full with great lovelace configs:

And here are some automations you might find useful:
https://andrew-codechimp.github.io/HA-Battery-Notes/community/

2 Likes

I forked this blueprint and updated it so now you can use labels, areas, and devices in the “Excluded Sensors” input.

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

I wrote a little blog post about the fix Home Assistant: using target in blueprints - Evan Moses

7 Likes

AH YEAH! This seems to work really well and should be merged.

Hey im trying to use this but rather than checking daily i want it to get sent into a To-Do list where each device with a low battery instantly goes into the list and the list automatically update the battery percentage of the devices as it goes down, as to also delete them from the list once they have been fixed, does anyone have any idea how to do this?

1 Like

Have a look at the Battery Notes integration.

2 Likes

Suddenly, the below no longer provides the name of the sensor and its battery state. It’s just blank after "Low battery warning for: " – Any idea why this would stop working?

  message: "Low battery warning for: {{sensors}}"

Thank you for sharing this. How do I modify the Battery Threshold Blueprint to send a message to my phone with the device name that has a low battery?