#Setting Climate temperature in both heat and Heat/cool

1 messages · Page 1 of 1 (latest)

indigo cloud
#

How can I set the temperature to heat for both when it's just heat, and when it's heat & cool? This is the current automation that works for heat. (I don't know if this is the preferred format either?)

target:
entity_id: climate.my_ecobee_2
data:
temperature: >
{{ states('input_number.desired_bedroom_temperature')|float +
states('input_number.bedroom_temperature_offset')|float }}
action: climate.set_temperature

faint terrace
#

You will have to determine the mode first, and then using some logic (if/then or choose) run the appropriate action. If the mode is heat_cool you have to send both target_temp_high and target_temp_low. So if you don’t want to specify the low setting you need to just send what it currently is set to.
All that info is documented here: https://www.home-assistant.io/integrations/climate/#action-climateset_temperature

#

Also, when you paste code, please format it