Created
March 19, 2023 09:57
-
-
Save adrianjost/f803605fed9475d2ffd15412067733fa to your computer and use it in GitHub Desktop.
HomeAssistant - Tado Open Window Heating Control Blueprint
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
# copy file to blueprints/automation/homeassistant/tado_window.yaml | |
blueprint: | |
name: Tado Open Window Heating Control | |
description: Pauses the auto control for 15min when an open window is detected in a room. | |
domain: automation | |
input: | |
window_entity: | |
name: Window Sensor | |
description: The window sensor that controls the climate entity. | |
selector: | |
entity: | |
domain: binary_sensor | |
device_class: window | |
climate_target: | |
name: Climate Device | |
description: The climate entity that is controlled by the window sensor. | |
selector: | |
entity: | |
domain: climate | |
trigger: | |
- platform: state | |
entity_id: !input "window_entity" | |
to: "on" | |
action: | |
- service: climate.turn_off | |
entity_id: !input "climate_target" | |
- delay: | |
hours: 0 | |
minutes: 15 | |
seconds: 0 | |
milliseconds: 0 | |
- service: climate.set_hvac_mode | |
entity_id: !input "climate_target" | |
data: | |
hvac_mode: auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment