Skip to content

Instantly share code, notes, and snippets.

@tdiekel
tdiekel / automatic-outdoor-lighting.yaml
Last active November 19, 2023 18:29 — forked from kalhimeo/automatic-outdoor-lighting.yaml
Automatic outdoor lighting
blueprint:
name: Automatic outdoor lighting (switch)
description: 'Turn outdoor switches automaticly depending of:
- Luminosity (with optional time limit)
- Presence/Movement detection (up to 3 sources)
- Person / Family location (arriving home)
Based on [Automatic outdoor lighting](https://gist.github.com/kalhimeo/8a4b100b8a4540080c9893a5826b78cc)
by kalhimeo'
author: tdiekel
@tdiekel
tdiekel / automatic-turn-off.yaml
Last active January 12, 2024 02:14 — forked from JonTheNiceGuy/Turn Off Light After Time.yaml
Automatic light or switch turn off after time
blueprint:
name: Automatic light or switch turn off after time
description: 'Given a light entity, watch for it turning on, and then turn it off after a certain period of time.
Based on [Turn Off Light After Time](https://gist.github.com/JonTheNiceGuy/5ac636739165dd593030c0fed16eb618)
by JonTheNiceGuy'
domain: automation
input:
light_or_switch:
name: Light or switch
description: Select the light or switch to monitor and control