Skip to content

Instantly share code, notes, and snippets.

View albertzak's full-sized avatar

Albert Zak albertzak

View GitHub Profile
@albertzak
albertzak / switches_off_at_sunrise.yaml
Last active December 12, 2021 12:06 — forked from Knuspel/switches_on_at_sunset.yaml
Home Assistant Blueprint for Turning Switches Off At Sunrise
blueprint:
name: Switch Off At Sunrise
description: Turn off the following switches at sunset
domain: automation
input:
# Create a variable for identifying the light to act upon
target_switch:
name: Switches
description: This is the switch (or switches) that will be turned off at sunset
# Use a selector, to pick the light(s)