Set Nest High and Low Temp in Auto Mode

Hi I’m trying to set the Nest’s high and low temp in a script. I found this thread: Set target_temp_high (or low) on Nest and I’m able to do this in the developer mode but I don’t know how to write this in a script. Can anyone help?

Thanks!

Looks like this worked. I think I was having some issues with Nest API timeouts after so many errors:

- service: climate.set_temperature
    data:
      entity_id: climate.nest
      target_temp_high: '80'
      target_temp_low: '60'