Garadget Automation

Hi folks,

I’m trying to receive a notification from pushbullet on my phone if i leave my garage door up for more than 10 minutes. I have the garadget in my hassio no problem and it functions correctly with this in my configuration.yaml

cover:
  platform: garadget
  covers:
   123456789123456789123456789:
    username: user
    password: pass
    name: Garage Door

In my automations section I’m trying to use this but everytime i restart hassio it says

This is my automation code for it.

  - alias: Garadget Door Open Reminder
    initial_state: True
    trigger:
       platform: state
       entity_id:  cover.garage_door
       state: "open"
       for:
         minutes: 10
    action:
       service: notify.pushbullets
       data:
         message: "The garage door has been left open!" 
notify:
  - name: pushbullets
    platform: pushbullet
    api_key: my api key

Can anyone help?

Thanks.

1 Like

indentation is wrong between covers: and the numbers below, as well as those numbers and username: (need 2 spaces)

and in your automation there are 3 spaces instead of the required 2 between trigger: and the lines below

  - alias: Garadget Door Open Reminder
    initial_state: True
    trigger:
      platform: state
      entity_id:  cover.garage_door
      state: "open"
      for:
        minutes: 10
    action:
      service: notify.pushbullets
      data:
        message: "The garage door has been left open!"   

Just tried that but still same error.

1 Like

It should be to: “open” not state: “open” and they should be in single quotes

2 Likes

Oh my god, that simple! You’re a genius!! Thank you!

1 Like