Created
November 9, 2024 11:30
-
-
Save trunneml/a534a89fa3e9df48c85bf181a659f35d to your computer and use it in GitHub Desktop.
Home Assistant Blueprint to open Cover when window opens
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: Open Cover when window open | |
description: Opens the cover when the window was opened | |
domain: automation | |
input: | |
cover_entity: | |
name: Cover Entity | |
description: Cover that should be controlled | |
selector: | |
entity: | |
domain: | |
- cover | |
window_sensor: | |
name: Window Sensor | |
selector: | |
entity: | |
domain: | |
- binary_sensor | |
device_class: | |
- door | |
- window | |
mode: single | |
trigger: | |
- platform: state | |
entity_id: | |
- !input window_sensor | |
to: 'on' | |
condition: [] | |
action: | |
- action: cover.open_cover | |
metadata: {} | |
data: {} | |
target: | |
entity_id: !input cover_entity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment