Fill an input_select from a folder sensor with template

Yes it’s looking like I will need something like the python script approach here.