Skip to content

Instantly share code, notes, and snippets.

View garanda21's full-sized avatar
🏠
Working from home

Giovanny Aranda garanda21

🏠
Working from home
View GitHub Profile
@garanda21
garanda21 / low-battery-level-detection-notification-for-all-battery-sensors.yaml Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold 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').
@garanda21
garanda21 / motion_light_sunset_to_sunrise.yaml
Last active December 8, 2022 18:36
Turn a light or switch on based on detected motion when sunrise or sunset conditions are meet and turn light or switch off after a delay
blueprint:
name: Motion Light with sunrise and sunset conditions (after or before)
description: Turn a light on based on detected motion when sunrise or sunset conditions
are meet and turn light off after a delay
domain: automation
input:
motion_sensor:
name: Motion Sensor
description: This sensor will be synchronized with the light.
selector:
@garanda21
garanda21 / motion_light_on_off_delay.yaml
Last active December 13, 2022 13:07
Turn a light on based on detected motion and turn light off after a delay
blueprint:
name: Motion Light
description: Turn a light on based on detected motion and turn light off after a
delay
domain: automation
input:
motion_sensor:
name: Motion Sensor
description: This sensor will be synchronized with the light.
selector: