Skip to content

Instantly share code, notes, and snippets.

View Rspurdy's full-sized avatar

Rspurdy

  • Joined Dec 30, 2025
View GitHub Profile
@Rspurdy
Rspurdy / Motion_Activated_Dim_Light_Day_or_Night.yaml
Created January 3, 2026 05:22
Motion Activated Dim Light (Day or Night)
blueprint:
name: Motion Activated Dim Light (Day or Night)
description: >
Turns on a light at a defined brightness when motion is detected,
then turns it off after a configurable delay. Runs only during
daytime or nighttime based on the sun position.
domain: automation
input:
motion_sensor:
@Rspurdy
Rspurdy / motion_dim_light_time_window.yaml
Created January 3, 2026 05:19
motion_dim_light_time_window.yaml
blueprint:
name: Motion Activated Dim Light (Time Window)
description: >
Turns on a light at a defined brightness when motion is detected,
then turns it off after a configurable delay. Active only within
a defined time window.
domain: automation
input:
motion_sensor: