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
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: {}