24h format throws an error in the automations

This is something unexpected
When inputting the trigger time in a 24h format HA throws an error although yaml check passes
MS Code also shows it in a different color
image

I think you have to put it in quotes as yaml sees it as a number otherwise and only reads the 23 bit.

platform: time
at: "23:20:00"