Invalid slug and file case sensitivity

I caught an error in the log and this part caught my eye

FrontDoor_lock_manager_1 (try frontdoor_lock_manager_1)

My file was named FrontDoor_lock_manager_1.yaml so I took the advice and renamed it to all lower case and it worked.

Do file names have to be lowercase?

ERROR (MainThread) [homeassistant.config] Invalid config for [homeassistant]: invalid slug FrontDoor_lock_manager_1 (try frontdoor_lock_manager_1) for dictionary value @ data[‘packages’]. Got OrderedDict([(‘FrontDoor_lock_manager_1’, OrderedDict([(‘input_number’, OrderedDict([(‘accesscount_FrontDoor_1’, OrderedDict([(‘name’, ‘Access Count’), (‘min’, 0), (‘max’, 100), (‘step’, 1), (‘unit_of_measurement’, ‘Openings Left’)]))])), (‘input_datetime’, OrderedDict([(‘end_date_FrontDoor_1’, OrderedDict([(‘name’, ‘End’), (‘has_time’, False), (‘has_date’, True)])), (‘start_date_FrontDoor_1’, OrderedDict([(‘name’, ‘Start’), (‘has_time’, False), (‘has_date’, True)])), ('sun_start_date_FrontDo… (See /config/configuration.yaml, line 2).