Last active
November 23, 2025 17:38
-
-
Save AbleMonster/2eb1933ab60ef83b2bdd424619163321 to your computer and use it in GitHub Desktop.
Turn Off Heating When Door or Window Is Open
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: Turn Off Heating When Door or Window Is Open | |
| description: Turns off the heating if a door or window remains open for a defined duration. | |
| domain: automation | |
| input: | |
| open_sensors: | |
| name: Door or Window Sensors | |
| description: Select the door and/or window sensors to monitor | |
| selector: | |
| entity: | |
| domain: binary_sensor | |
| device_class: | |
| - door | |
| - window | |
| multiple: true | |
| climate_device: | |
| name: Climate Device | |
| selector: | |
| target: | |
| entity: | |
| domain: climate | |
| open_duration: | |
| name: Open Duration | |
| description: How long a door or window must stay open before turning off the heating | |
| default: "00:10:00" | |
| selector: | |
| duration: | |
| trigger: | |
| - platform: state | |
| entity_id: !input open_sensors | |
| from: "off" | |
| to: "on" | |
| for: !input open_duration | |
| condition: [] | |
| action: | |
| - service: climate.set_hvac_mode | |
| target: !input climate_device | |
| data: | |
| hvac_mode: "off" | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment