How come including config file for input_select doesn't work the same as automations?

I have this in my config file:

automation rooms: !include rooms/automations.yaml
script rooms:  !include rooms/scripts.yaml
template rooms: !include rooms/templates.yaml
input_select rooms: !include rooms/input_selects.yaml

I have other lines in my config file including automations and scripts from other YAML files.

This works fine for automation, script, and template, but input_select doesn’t work with the ‘room’ naming. I have to remove ‘room’ for the input_selects to show up:

automation rooms: !include rooms/automations.yaml
script rooms:  !include rooms/scripts.yaml
template rooms: !include rooms/templates.yaml
# for some reason 'rooms' here doesn't work, so all input_selects need to be in one file
input_select: !include rooms/input_selects.yaml

Because automations: and scripts: are special.
To be honest I didn’t know they added template.

It started out as an Easter egg undocumented for automations: only, then was expanded a bit.

If you want more expansion, I suggest home-assistant · Discussions · GitHub