Energyeasy
Open Window? Heating Off.
We are not air-conditioning the entire suburb.
The problem
Heating roaring while a window's wide open 'for a bit of air'.
What it does
If a window or external door is open for 2 minutes, the climate in that zone shuts off. Close it, and after a minute it goes back to what it was doing.
You'll need
- Window/door contact sensors
- Climate entity
The payoff
Stops heating/cooling leaking out the window — real money in winter.
The YAML
alias: "Angry Dad — Window Open, Climate Off"
description: Pauses climate while a window or door is open, restores when shut.
mode: restart
triggers:
- trigger: state
entity_id: binary_sensor.living_room_window
to: "on"
for:
minutes: 2
id: opened
- trigger: state
entity_id: binary_sensor.living_room_window
to: "off"
for:
minutes: 1
id: closed
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id: opened
sequence:
- action: climate.turn_off
target:
entity_id: climate.living_room
- action: notify.mobile_app_dads_phone
data:
message: "Heating off — the living room window's open. Obviously."
- conditions:
- condition: trigger
id: closed
sequence:
- action: climate.turn_on
target:
entity_id: climate.living_roomDrop this into an automation (or a package under config/packages/) and swap the entity IDs for your own.
Want the next one automatically?
One automation like this in your inbox every week.
Don't fancy the DIY?
Get Dycom Automation to do it properly.
Reading YAML isn't everyone's idea of a good night in. Dycom Automation — the grown-up, properly-insured version of all this — will design, install and tune your whole smart home for you. Same ruthless automations, none of the swearing.
Get it done by Dycom Automation →