Add some reset logic for climate devices when returning from vacation
Will probably rework this later as part of #124 but it works for now.
This commit is contained in:
@ -718,6 +718,7 @@ automation:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- input_boolean.front_porch_light_on
|
- input_boolean.front_porch_light_on
|
||||||
- input_boolean.audible_notifications
|
- input_boolean.audible_notifications
|
||||||
|
- input_boolean.master_bedroom_cooling_on
|
||||||
- service: automation.turn_on
|
- service: automation.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
@ -745,6 +746,16 @@ automation:
|
|||||||
- automation.vacation_lighting
|
- automation.vacation_lighting
|
||||||
data:
|
data:
|
||||||
stop_actions: true
|
stop_actions: true
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.early_night_mode
|
||||||
|
state: 'on'
|
||||||
|
then:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.master_bedroom_cooling_on
|
||||||
|
- delay:
|
||||||
|
seconds: 1
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
@ -760,28 +771,11 @@ automation:
|
|||||||
- service: fan.turn_on
|
- service: fan.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- fan.emma_air_conditioner
|
|
||||||
- fan.kallen_bedroom_fan
|
- fan.kallen_bedroom_fan
|
||||||
- service: climate.set_hvac_mode
|
- fan.emma_air_conditioner
|
||||||
|
- service: button.press
|
||||||
target:
|
target:
|
||||||
entity_id: climate.master_bedroom_aircon
|
entity_id: button.master_bedroom_climate_reset
|
||||||
data:
|
|
||||||
hvac_mode: cool
|
|
||||||
- service: climate.set_preset_mode
|
|
||||||
target:
|
|
||||||
entity_id: climate.master_bedroom_aircon
|
|
||||||
data:
|
|
||||||
preset_mode: eco
|
|
||||||
- service: climate.set_temperature
|
|
||||||
target:
|
|
||||||
entity_id: climate.master_bedroom_aircon
|
|
||||||
data:
|
|
||||||
temperature: "{{ states('input_number.master_bedroom_daytime_temp') | int }}"
|
|
||||||
- service: climate.set_fan_mode
|
|
||||||
target:
|
|
||||||
entity_id: climate.master_bedroom_aircon
|
|
||||||
data:
|
|
||||||
fan_mode: Auto
|
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
|
Reference in New Issue
Block a user