Is there a way for automation to enumerate files in a directory and pick first one?

Sorry I’m no expert and this is a response off the back of a quick google :face_with_open_eyes_and_hand_over_mouth:

Maybe Folder Watcher - Home Assistant is what you’re looking for, filtering for file events that have been ‘created’

Some community examples

1 Like