I am new to HA, and saw there is a new hvac_mode leaving operation_mode to be going away.
Currently, I am using a Nest. The New Code works fine, but want to make sure this is what they had in mind. Is this how you would do it?
OLD VERSION
nest_cool_kitchen:
sequence:
- service: climate.set_operation_mode
data:
entity_id: climate.kitchen
operation_mode: 'cool'
- service: climate.set_temperature
data:
entity_id: climate.kitchen
temperature: '70'
nest_eco_kitchen:
sequence:
- service: climate.set_operation_mode
data:
entity_id: climate.kitchen
operation_mode: eco
NEW VERSION
nest_cool_kitchen:
sequence:
- service: climate.set_hvac_mode
data:
entity_id: climate.kitchen
hvac_mode: cool
- service: climate.set_temperature
data:
entity_id: climate.kitchen
temperature: '70'
nest_eco_kitchen:
sequence:
- service: climate.set_preset_mode
data:
entity_id: climate.kitchen
preset_mode: eco