Help please with Timer/IFTTT automation

Hello all,

First timer here, I finally got around to playing with Home Assistant after reading so much about it, however I’m stuck on my first automation which is not triggering at all.

- id: test123
  alias: Startup Notification
  trigger:
    - platform: time
      at: "20:45:00"
  condition:
    - condition: time
      weekday:
        - tue
        - wed
        - thu
        - fri
  action:
    service: ifttt.trigger
    data: {"event":"foyer_light_on"}

I’m not getting any validation errors in the above automations.yaml, the configurations.yaml is:

homeassistant:
  name: Da Crib
  latitude: XXX
  longitude: YYY
  unit_system: metric
  time_zone: America/Edmonton
  
# Configure a default setup of Home Assistant (frontend, api, etc)
#default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

#automation
automation: !include automations.yaml

# IFTTT
ifttt:
  key: [hidden]

Through Developer Tools, I can run the ifttt.trigger service just fine but this timer script was just not firing for me last night (Tuesday, Jan. 14).

Any help is appreciated

what do you mean by this. There is no timer script posted. Do you mean your automation time trigger?

Yes, the automation time trigger.

How did you install home assistant?

Can you verify that the time is correct on your system. This means OS time and Home Assistant time.

I finally solved it. Thanks @petro.

Home Assistant time zone is correct but my Pi time zone was in GMT so I changed it to MST.
I then noticed my PC time was off by 2 mins as seen on my Pi which was causing my time in the automation to be off so I synced my PC time with the Pi time and now all is well, my automation is firing!

In case anyone sees this, double and triple check your times on the systems.

1 Like