Hi,
I’ve an automation set that works nicely:
Basically, it sends me a message everytime the outdoor temperature is below the indoor temperature, in order for me to open the windows to refresh the room.
It works perfectly, but it sends me a message every 5minutes, which is not ideal. Is there a way to wait that the condition isn’t met anymore to be allowed to re-enter?
Here is my current template:
alias: Alert open windows
description: ''
trigger:
- platform: time_pattern
minutes: /5
condition:
- condition: template
value_template: >-
{{ ( states('sensor.netatmo_givihome_salon_balcon_temperature') | float )
< (states('sensor.netatmo_givihome_salon_temperature') | float) }}
action:
- device_id: d7478c53e925f19ccf1eafaaea192d3c
domain: mobile_app
type: notify
message: >-
Alert! The external
temperature({{states('sensor.netatmo_givihome_salon_balcon_temperature')}})
is below the internal
temperature({{states('sensor.netatmo_givihome_salon_temperature')}}).
Activate the canicule plan(well, open the windows)
title: Open window
mode: single