Some tweaks based on misunderstanding of the climate service

This commit is contained in:
2022-06-13 20:08:01 -04:00
parent ed9298cd31
commit da6a13b84a

View File

@ -449,29 +449,39 @@
attribute: overnight_low attribute: overnight_low
above: '50' above: '50'
then: then:
- service: climate.set_temperature - service: climate.set_hvac_mode
data: data:
hvac_mode: cool hvac_mode: cool
- service: climate.set_temperature
data:
temperature: 72 temperature: 72
target: target:
entity_id: climate.master_bedroom_aircon entity_id: climate.master_bedroom_aircon
- service: climate.turn_on
data: {}
target:
entity_id: climate.master_bedroom_aircon
- parallel: - parallel:
- service: script.text_notify_tony - service: script.text_notify_tony
data: data:
title: AC Schedule Activated title: AC Schedule Activated
message: '"Master bedroom AC temp has been lowered, as scheduled based message: '"Master bedroom AC temp has been set as scheduled based on
on tonight''s forecast low"' tonight''s forecast low"'
- service: script.text_notify_tina - service: script.text_notify_tina
data: data:
title: AC Schedule Activated title: AC Schedule Activated
message: '"Master bedroom AC temp has been lowered, as scheduled based message: '"Master bedroom AC temp has been set as scheduled based on
on tonight''s forecast low"' tonight''s forecast low"'
else: else:
- service: climate.set_hvac_mode - service: climate.set_hvac_mode
data: data:
hvac_mode: fan_only hvac_mode: fan_only
target: target:
entity_id: climate.master_bedroom_aircon entity_id: climate.master_bedroom_aircon
- service: climate.turn_on
data: {}
target:
entity_id: climate.master_bedroom_aircon
- parallel: - parallel:
- service: script.text_notify_tony - service: script.text_notify_tony
data: data:
@ -521,12 +531,18 @@
entity_id: sensor.todays_high_temp entity_id: sensor.todays_high_temp
above: '80' above: '80'
then: then:
- service: climate.set_temperature - service: climate.set_hvac_mode
data: data:
hvac_mode: cool hvac_mode: cool
- service: climate.set_temperature
data:
temperature: 75 temperature: 75
target: target:
entity_id: climate.master_bedroom_aircon entity_id: climate.master_bedroom_aircon
- service: climate.turn_on
data: {}
target:
entity_id: climate.master_bedroom_aircon
else: else:
- service: climate.turn_off - service: climate.turn_off
data: {} data: {}