From da6a13b84ab6fc3136e29504b225e78c6cd907bb Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 13 Jun 2022 20:08:01 -0400 Subject: [PATCH] Some tweaks based on misunderstanding of the climate service --- automations.yaml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/automations.yaml b/automations.yaml index ee9992b..a251ed5 100644 --- a/automations.yaml +++ b/automations.yaml @@ -449,29 +449,39 @@ attribute: overnight_low above: '50' then: - - service: climate.set_temperature + - service: climate.set_hvac_mode data: hvac_mode: cool + - service: climate.set_temperature + data: temperature: 72 target: entity_id: climate.master_bedroom_aircon + - service: climate.turn_on + data: {} + target: + entity_id: climate.master_bedroom_aircon - parallel: - service: script.text_notify_tony data: title: AC Schedule Activated - message: '"Master bedroom AC temp has been lowered, as scheduled based - on tonight''s forecast low"' + message: '"Master bedroom AC temp has been set as scheduled based on + tonight''s forecast low"' - service: script.text_notify_tina data: title: AC Schedule Activated - message: '"Master bedroom AC temp has been lowered, as scheduled based - on tonight''s forecast low"' + message: '"Master bedroom AC temp has been set as scheduled based on + tonight''s forecast low"' else: - service: climate.set_hvac_mode data: hvac_mode: fan_only target: entity_id: climate.master_bedroom_aircon + - service: climate.turn_on + data: {} + target: + entity_id: climate.master_bedroom_aircon - parallel: - service: script.text_notify_tony data: @@ -521,12 +531,18 @@ entity_id: sensor.todays_high_temp above: '80' then: - - service: climate.set_temperature + - service: climate.set_hvac_mode data: hvac_mode: cool + - service: climate.set_temperature + data: temperature: 75 target: entity_id: climate.master_bedroom_aircon + - service: climate.turn_on + data: {} + target: + entity_id: climate.master_bedroom_aircon else: - service: climate.turn_off data: {}