Skip to content

Instantly share code, notes, and snippets.

View torfbolt's full-sized avatar

David Kiliani torfbolt

View GitHub Profile
@torfbolt
torfbolt / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active October 15, 2022 23:06 — forked from dadge/low-battery-level-detection-notification-for-all-battery-sensors.yaml
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Batteries Warning
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold or unseen sensor and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').