Invalid config for [automation]: Expected HH:MM, HH:MM:SS or Entity ID with domain 'input_datetime' or 'sensor' @ data['at'][0]. Got None

If someone runs into this error … drove me crazy for an hour or so …

This:

- alias: Nachtlicht ein
  description: Jacobs Nachtlicht einschalten
  trigger:
  - platform: time
    at: 22:30:00
  action:
  - service: switch.turn_on
    entity_id: switch.plugtwo
  - service: notify.pushover
    data:
      message: Nachtlicht ein
  mode: single

will raise above error, while

at: 06:30:00

will not (whysoever … when Hours are starting with a “0” it’s ok for the parser …)

Correct way to write is using hyphens:

at: "22:00:00"

5 Likes

I did, many thanks for the Post!!