Hi,
I have a power sensor
- platform: template
sensors:
potenza_trasmettitore:
friendly_name: "Potenza Trasmettitore"
unit_of_measurement: "W"
value_template: >
{{ bla bla bla bla }}
and this automation
mode: single
trigger:
- platform: state
entity_id:
- sensor.trasmettitore_potenza
to: "1500"
condition: []
action:
<< reduce power at 1000 W >>
Now, if the automation fails for any reason and my sensor remains at 1500 W, the automation must be called again, until the sensor will change its status.
But if the sensor remains at 1500, the automation will be not called again
Is there a method to fix this situation?
Maybe with the timestamp of the sensor?