Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Conditional motion-activated Light
description: Turn on a light when motion is detected, can be (de)activated by a toggle.
domain: automation
source_url: https://gist.github.com/MuadDev/d0b3f42cadcc57b049dd4eca50d4140e#file-conditional_motion_light-yaml
input:
motion_entity:
name: Motion Sensor
selector:
entity: