-
-
Save brentley/d5feb5fc393e31cd491dd00442992fd9 to your computer and use it in GitHub Desktop.
Home Assistant: Always On Light
This file contains hidden or 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: Always On Light | |
description: Keep the selected light on, even when it is turned off. This should be used for lights you never want to be turned off. | |
domain: automation | |
input: | |
target_light: | |
name: Target Light | |
description: The light that will always be kept on. | |
selector: | |
entity: | |
domain: light | |
mode: single | |
max_exceeded: silent | |
trigger: | |
- platform: homeassistant | |
event: start | |
- platform: state | |
entity_id: !input target_light | |
to: "off" | |
action: | |
- service: light.turn_on | |
entity_id: !input target_light |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment