Ecobee Automation not quite working

Hello Smart awesome people!
I’m very new to home assistant but I am addicted! I’m not a programmer but I do work in IT and I’m having some issues with my ecobee automation. So I’ve made two automations, and only the 'Away Mode" shows up on my HA front page for some reason.

The second issue is that the ‘Home Mode’ automation loops every 15 seconds so I get about 6 notifications every minute that ecobee has been set to home mode.

Now, the ‘away mode’ works some times and it doesn’t loop, the ‘home mode’ loops but it does work, I’m not sure what is wrong here or what I should do. I did look at some cookbook configs and noticed “geekofweek” used no ecobee service’s but used the homeassistant.turn_off to set his ecobee. Any ideas?

  • alias: ‘Away Mode’

    trigger:

    • platform: state
      entity_id: device_tracker.oneplus, device_tracker.redmi4x
      from: ‘home’
      to: ‘not_home’
      for:
      minutes: 5

action:

  • service: climate.set_away_mode
    entity_id: climate.kitchen
    data:
    away_mode: ‘on’

  • service: notify.notify
    data:
    message: ‘Ecobee Has Entered Away Mode’

  • alias: ‘Home Mode’

    trigger:

    • platform: state
      entity_id: device_tracker.oneplus, device_tracker.redmi4x
      from: ‘not_home’
      to: ‘home’

    action:

    • service: climate.set_hold_mode
      entity_id: climate.kitchen
      data:
      hold_mode: ‘home’
    • service: notify.notify
      data:
      message: ‘Ecobee Has Entered Home Mode’

You should use climate.set_away_mode. I have created switches for my Ecobee thermostats here (search for climate) and then turn on those switches in my automation/scripts.

Ah ok cool! I’ll try that for sure, thanks for that!

Is there a reason why only one of my automations show up in my overview/main page of HA?