Last active
April 3, 2022 06:16
-
-
Save ImDevinC/3ce43d590a27286e39acfb942a35db7b to your computer and use it in GitHub Desktop.
[HA] Turn off lights at a specific time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Turn off lights at specific time | |
description: Turn off lights at a specific time | |
domain: automation | |
input: | |
switch_target: | |
name: Switch | |
description: The switch(es) to turn off at sunrise | |
selector: | |
target: | |
entity: | |
domain: switch | |
target_time: | |
name: Off Time | |
description: Time to turn off the light | |
selector: | |
time: | |
trigger: | |
platform: time | |
at: !input 'target_time' | |
action: | |
service: switch.turn_off | |
target: !input 'switch_target' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment