Times not quoted in automations.yml

Hi!
I have done all my automations in the graphical user interface.
Now looking at automations.yaml I noticed that many time attributes are not quoted.
I thought that they should always be quoted.
I searched here and found this thread that confirms my thought:

These are excerpts from my automations.yaml;

  condition:
  - condition: time
    after: 07:00:00
    before: '23:59:00'

  trigger:
  - platform: sun
    event: sunset
    offset: -00:15:00

  trigger:
  - platform: time
    at: 08:00

  condition:
  - after: '23:30:00'
    before: 06:30:00
    condition: time

  trigger:
  - entity_id: binary_sensor.motion_sensor_diskbank
    for: 00:00:30
    platform: state
    to: 'off'

This is my current version:

Version	core-2021.11.5
Installation Type	Home Assistant Core
Development	false
Supervisor	false
Docker	false
User	homeassistant
Virtual Environment	true
Python Version	3.9.2
Operating System Family	Linux
Operating System Version	5.10.0-9-amd64
CPU Architecture	x86_64

What is going on?

Do they work?

Yes. All the automations work.

I write my automations manually, and was just checking, I’m not consistent too. Sometimes I use quotes, sometimes I don’t.

Don’t fix nothing that ain’t broken. But I think quotes are required even if not enforced.