I want an mp4 to play temporarily in a gallery card.
After reading various hints I understand I have to use
- the files integration
- a sensor
- the gallery card (duh)
It seems I cannot get the paths right so I hope I can get some help here:
The mp4 is in ./homeassistant/www/images
In the file integration I added an entity : /config/www/images
I created a sensor:
- platform: files
folder: /config/www/images/
filter: "**/**/*.mp4"
name: "gallery_videos"
sort: date
recursive: True
In the gallery card my code =
type: custom:gallery-card
entities:
- media-source://homeassistant/www/images/
Can someone tell me where I am wrong ?
Thanks in advance