I started to use the Folder Sensor, in order to see and “run” the files from lovelace, but… the problem is that the files are shown in a very strange way. There is any solution to sort the files by name, extension, filesize, anything?
Can provide the details on what you mean by “cloned into a template adding sort” I trying to move from the customer files integration to use folder for a gallery-card and I need the files ordered by creation date. Newest file first. If you post the yaml for your template sensor that would be helpful.
I have created the sensor “manually” and added the “sort” detail, in order to sort the files… so practically, I have two media sensors, the default one and the one which will do what I want.