Skip to content

Instantly share code, notes, and snippets.

View Danielbook's full-sized avatar

Daniel Böök Danielbook

View GitHub Profile
@Danielbook
Danielbook / motion-illuminance-dimmable-nightmode.yaml
Last active April 22, 2024 17:46
Home Assistant blueprint. Motion-activated Light with illuminance, nightmode and dimmable
blueprint:
name: Motion-activated Light with illuminance, nightmode and dimmable
description: Turn on a light when motion is detected and illuminance is below a
set Lux level. The light will dim before it is turned off to signal that it has
not detected motion in quite a while. There is also two timers, on for daytime
and one for nighttime.
domain: automation
input:
motion_entity:
name: Motion Sensor
@Danielbook
Danielbook / motion-illuminance.yaml
Created May 17, 2021 11:08
Motion and Illuminance level
blueprint:
name: Motion-activated Light with illuminance
description: Turn on a light when motion is detected and illuminance is below a set Lux level.
domain: automation
input:
motion_entity:
name: Motion Sensor
selector:
entity:
domain: binary_sensor