Update ha-smart-thermostat-control.yaml
Attempt to prevent triggering by own change
This commit is contained in:
parent
2357540d07
commit
e669490559
1 changed files with 4 additions and 0 deletions
|
|
@ -173,6 +173,10 @@ action:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: manual_adjustment
|
id: manual_adjustment
|
||||||
|
# Prevent triggering on automation's own changes
|
||||||
|
- condition: template
|
||||||
|
value_template: >
|
||||||
|
{{ trigger.to_state.context.parent_id == none }}
|
||||||
sequence:
|
sequence:
|
||||||
- service: climate.set_temperature
|
- service: climate.set_temperature
|
||||||
target:
|
target:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue