Problem setting up Nest automation

Hey all I’m trying to setup a nest automation. I’m able to change the temp if the nest is already in the mode I want but if it is in eco mode the nest will not switch to cool mode and change the temp.

Here is what I have:

automation:

  • alias: ‘Weekday Cooldown’
    trigger:
    • platform: time
      at: ‘13:54:00’
      condition:
      condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
        action:
    • service: notify.pushbullet
      data:
      message: “Weekday Cooldown ran”
    • service: climate.set_temperature
      data:
      entity_id: climate.nest
      temperature: ‘80’
      operation_mode: ‘Cool’

(Sorry if it’s formatted wrong I can’t find a code block when posting this)

Anyway I have tried calling operation mode under set_temperatue with no luck and have also tried calling set_operation_mode operation_mode. Neither way seems to work. I guess to start off with can I actually change modes and how would I chain that together with setting the temp.

Thanks!

1 Like

Try making it two seperate service calls. Set the mode to cool and then set the temp. You may also need to turn off away mode.

https://github.com/SilvrrGIT/HomeAssistant/blob/master/automation/nest.yaml#L78

2 Likes

That worked thanks! I could have sworn I tried that already. Here is what I ended also I don’t have auto away set or any schedules so no need to worry about that:

automation:

  • alias: ‘Weekday Cooldown’
    trigger:
    • platform: time
      at: ‘14:35:00’
      condition:
      condition: time
      weekday:
      • mon
      • tue
      • wed
      • thu
      • fri
        action:
    • service: notify.pushbullet
      data:
      message: “Weekday Cooldown ran”
    • service: climate.set_operation_mode
      data:
      entity_id: climate.nest
      operation_mode: ‘cool’
    • service: climate.set_temperature
      data:
      entity_id: climate.nest
      temperature: ‘80’

Thanks again!

1 Like