diff --git a/ha-smart-thermostat-control.yaml b/ha-smart-thermostat-control.yaml index 71ad566..c8e944f 100644 --- a/ha-smart-thermostat-control.yaml +++ b/ha-smart-thermostat-control.yaml @@ -176,7 +176,7 @@ action: # Prevent triggering on automation's own changes - condition: template value_template: > - {{ trigger.to_state.context.parent_id == none }} + {{ (now() - trigger.from_state.last_changed).total_seconds() > 10 }} sequence: - service: climate.set_temperature target: