You need to post your config preserving its format - put 3 single backquotes around it.
From what I see your problem is in calling the service, it should be something like according to examples here:
I see.
Could you post your automation that doesn’t work and also explain what that “does not work” means with as many relevant details as possible to help you further?
I just changed the code to the code below:
I entered the new time at 10:36 and did my configurator check and restarted HA just in case.
I entered the new time around 10:30 then waited until 10:36 and my light did Not turn on?
Screen shot is part of my yaml file.
So, your automation is never added to home assistant because of the extra space. Then when you remove the space, it’s never added because you already have an automation section.
Once you rectify that problem, the automation should work. I.E. Copy the automation into automations.yaml. Make sure you omit the word automation inside automations.yaml, otherwise you’ll have more errors. You’ll also need to add an - alias line when inside automations.yaml.
@AhmadK
I realized that in my config.yaml, when I specified the time 11:15:00 that there is no AM/PM. How would HA know if it was AM or PM? Unless I am supposed to use UTC time 23:15:00?