Skip to content

Instantly share code, notes, and snippets.

View Martinnygaard's full-sized avatar

Martinnygaard

View GitHub Profile
@Martinnygaard
Martinnygaard / motion_controlled_scenes_enhanced.yaml
Last active March 7, 2024 10:57 — forked from quallenbezwinger/motion_controlled_scenes_enhanced.yaml
Homeassistant blueprint for motion-activated light scene with sun sensor
blueprint:
name: Motion-activated light scene with optional ambient scene with sun elevation sensor
description: Turn on a light scene when motion is detected and the sun is below given threshold. Four different scenes can be defined depending on time of day.
domain: automation
source_url: https://gist.github.com/Martinnygaard/5bb3f1942929d6e45c177a023959957e
input:
motion_entity:
name: Motion Sensor
selector:
entity: