Configuring time for automation

i have timezone set to UTC in my confinguration.yaml

time_zone: UTC

but when i create a basic automation to turn on switch @x time, the time doesnt appear to be set right.

i set a switch to come on at 12:28 and it came on at 23:28.

how can i adjust the time to my local time? (i tried Australia/melbourne)

i am in Australia btw

Why would you set it to UTC if you are in Australia? Australia/Melbourne is correct, assuming that is the part of Oz you are in. Restart home assistant after changing it.