Hi all
I have this flow that check with four Event State nodes some door sensors.
Some times when a window or door is open I get more than one message, in some cases also very long time one from another.
Is there a way to trigger “from state off to on” and not just the on state, like in this automation:
- id: pf_cucina_open
alias: Finestra cucina aperta - Notify
trigger:
- platform: state
entity_id: binary_sensor.door_window_sensor_200
from: 'off'
to: 'on'
action:
service: notify.telegram
data_template:
message: Finestra cucina aperta alle {{ states('sensor.date__time') }}
Thanks