!include_dir_merge_list not working for input_boolean

I recently organized my configuration a little by utilizing !include_dir_merge_list.

I have created folders called yaml/sensor and yaml/binary_sensor and put seperate .yaml files inside of them.

For sensor and binary_sensor it works perfectly.

binary_sensor: !include_dir_merge_list yaml/binary_sensor
sensor: !include_dir_merge_list yaml/sensor

However, if I do the same with input_boolean:

input_boolean: !include_dir_merge_list yaml/input_boolean

The component doesn’t even load, with no errors in the log and my input_boolean entities aren’t there at all.

What am I doing wrong?

Input booleans are a dictionary so you need to use named instead of list in your !include reference. Sensor and binary sensor are both lists which is why those work ok.

I would check the indentation differences between what works and your input_boolean
If the format is exactly the same it should work