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
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