How to take ecobee thermostat out of "Smart Away" mode?

I am having trouble creating an automation to take my ecobee out of Smart Away mode. I have tried both of the following. They both work if the ecobee is in “regular” Away mode. But not in Smart Away. Any ideas?

- service: climate.set_hold_mode
  data:
    entity_id: climate.upstairs_ecobee
    hold_mode: home

and

- service: climate.ecobee_resume_program
  data:
    entity_id: climate.upstairs_ecobee
    resume_all: 'true'

Anyone? Anyone?

This is how I have mine setup. It works well.

alias: Thermostat Away
trigger:

  • entity_id: group.all_devices
    from: home
    platform: state
    to: not_home
    condition: []
    action:
  • data:
    entity_id: climate.thermostat
    away_mode: ‘on’
    service: climate.set_away_mode

alias: Thermostat Home
trigger:

  • entity_id: group.all_devices
    from: not_home
    platform: state
    to: home
    condition: []
    action:
  • data:
    away_mode: ‘off’
    entity_id: climate.thermostat
    service: climate.set_away_mode

In case this is useful to you, I have a “Resume_ecobee_Program” automation, which I trigger at key times of the day. This is in case someone has set a hold mode or manually adjusted the thermostat in some way, and it may also work in your case (I don’t recall specifically testing Smart Away). The specific service which may address your need is:

- service: climate.ecobee_resume_program

My full automation which uses this is:

- id: Resume_ecobee_Program
  alias: Resume ecobee Program
  initial_state: true
  trigger:
  - platform: time
    at: 08:30
  - platform: time
    at: '17:00'
  - platform: time
    at: '20:50'
  action:
  - service: climate.ecobee_resume_program
  - service: climate.ecobee_set_fan_min_on_time
    data:
      entity_id: climate.thermostat
      fan_min_on_time: '0'