Automation at time

Hi.
I’m going crazy. I wrote a simple automation that must send a telegram notification at 13:30:00 if the day of the week is Tuesday, Thursday or Saturday. The time zone is right but there is no way to make it work.
I have seen many examples in the forum and my automation seems correct to me
This is my automation:

- id: gg_even_day  
  alias: Evenday
  trigger:
    platform: time
    at: '13:00:00'
  condition:
    condition: time
    weekday:
      - tue
      - thu
      - sat
  action:
  - data:
      message:Today is an even day
    service: notify.sender_telegram_me

Thanks

Have you gone to developer tools and services to see if you can send the notification from there?

message:Today is an even day
        ^
        |
Add a space here

If this is an exact copy of your automation, I think the message: field may be the problem. Yaml is particular about spaces after colons. You can see the whole line is red here in the forums. See if this works (as @AllHailJ mentioned, try the service in the developer tools as well). The trigger and condition both look fine to me.

- id: gg_even_day  
  alias: Evenday
  trigger:
    platform: time
    at: '13:00:00'
  condition:
    condition: time
    weekday:
      - tue
      - thu
      - sat
  action:
  - data:
      message: 'Today is an even day'
    service: notify.sender_telegram_me

/edit: @123 FTW :slight_smile:

Thank you all. The problem was space.

If that was the problem then why did you mark the first reply as the Solution?

Yes, I didn’t notice. Sorry

Please consider marking my post above with the Solution tag. It clearly identifies the cause of the problem and how to correct it.