Update ha-smart-thermostat-control.yaml
react to all state changes
This commit is contained in:
parent
2f0ad5d87b
commit
ff2d1c1a4f
1 changed files with 14 additions and 6 deletions
|
|
@ -50,7 +50,7 @@ blueprint:
|
||||||
min: 10.0
|
min: 10.0
|
||||||
max: 25.0
|
max: 25.0
|
||||||
unit_of_measurement: °C or °F
|
unit_of_measurement: °C or °F
|
||||||
mode: box
|
mode: slider
|
||||||
wintermode_delay:
|
wintermode_delay:
|
||||||
name: Winter Mode Delay
|
name: Winter Mode Delay
|
||||||
description: 'Time the outside temperature needs to stay above the winter mode temperature to turn the heating off.'
|
description: 'Time the outside temperature needs to stay above the winter mode temperature to turn the heating off.'
|
||||||
|
|
@ -79,7 +79,7 @@ blueprint:
|
||||||
min: 10.0
|
min: 10.0
|
||||||
max: 30.0
|
max: 30.0
|
||||||
unit_of_measurement: °C or °F
|
unit_of_measurement: °C or °F
|
||||||
mode: box
|
mode: slider
|
||||||
night_temp:
|
night_temp:
|
||||||
name: Night Time Temperature Target
|
name: Night Time Temperature Target
|
||||||
default: 18
|
default: 18
|
||||||
|
|
@ -89,7 +89,7 @@ blueprint:
|
||||||
min: 10.0
|
min: 10.0
|
||||||
max: 30.0
|
max: 30.0
|
||||||
unit_of_measurement: °C or °F
|
unit_of_measurement: °C or °F
|
||||||
mode: box
|
mode: slider
|
||||||
away_temp:
|
away_temp:
|
||||||
name: Away Temperature Target
|
name: Away Temperature Target
|
||||||
description: Temperature when away/on holiday.
|
description: Temperature when away/on holiday.
|
||||||
|
|
@ -100,7 +100,7 @@ blueprint:
|
||||||
min: 10.0
|
min: 10.0
|
||||||
max: 30.0
|
max: 30.0
|
||||||
unit_of_measurement: °C or °F
|
unit_of_measurement: °C or °F
|
||||||
mode: box
|
mode: slider
|
||||||
away_calendar:
|
away_calendar:
|
||||||
name: Holiday or Away Calendar
|
name: Holiday or Away Calendar
|
||||||
description: Calendar entity that indicates away/holiday periods.
|
description: Calendar entity that indicates away/holiday periods.
|
||||||
|
|
@ -159,6 +159,10 @@ trigger:
|
||||||
id: manual_adjustment
|
id: manual_adjustment
|
||||||
for:
|
for:
|
||||||
seconds: !input sync_delay
|
seconds: !input sync_delay
|
||||||
|
- platform: state
|
||||||
|
entity_id: !input thermostat
|
||||||
|
to:
|
||||||
|
id: manual_state_change
|
||||||
- platform: calendar
|
- platform: calendar
|
||||||
event: end
|
event: end
|
||||||
entity_id: !input away_calendar
|
entity_id: !input away_calendar
|
||||||
|
|
@ -187,8 +191,12 @@ action:
|
||||||
- choose:
|
- choose:
|
||||||
# Priority 0: Manual Adjustment - Sync all thermostats
|
# Priority 0: Manual Adjustment - Sync all thermostats
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: trigger
|
- condition: or
|
||||||
id: manual_adjustment
|
conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: manual_adjustment
|
||||||
|
- condition: trigger
|
||||||
|
id: manual_state_change
|
||||||
# Only sync if the temperature actually changed
|
# Only sync if the temperature actually changed
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ (new_temperature - old_temperature) | abs > 0.1 }}"
|
value_template: "{{ (new_temperature - old_temperature) | abs > 0.1 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue