Hi, I want to create an automation that HomeAssistant is able to detect and run a script when the battery drops below 20%, does anyone know how to help me?
On a larger scale …
In HACS there is something ‘battery state card’
And there is also a blueprint: “Blueprint to use Low battery level detection & notification for all battery sensors”…this one you could adapt easily as well