Nest with New hvac_mode

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

Interested in this too… just pressed the update button and then read the release notes…

Do I need to change mij Nest automation yaml files?

Well, I am assuming this is the way to do it! Having had this config for a couple of weeks, there have been nothing but good results.

It seems that HA is moving in this direction, so I would change your script/automation.