Stuck with the horizontal-stack

Hi everyone!

Since yesterday I’m fighting like a newbie to put in my lovelace this super add-on (thanks to bruxy70): https://github.com/bruxy70/Garbage-Collection/blob/afc10802fdf05faab4a3183a4381bbbce05d024b/images/picture-entity.png
I’m slowly learning about writing the yaml and programming HA but here I’m blocked.

I understand that i have to create the Horizontal-stack to put inside using the custom card templater, three (in my case) Picture entity cards to have the three images whith the resting time to the new collect below.
I’ve read a lot about an seen some videos but i dont find the correct order in my writing to achieve it

I’ve arrived to do it after hundreds of trials to get it individually. I’ve even arrived to have it with the garbage collection card that also works perfectly (thanks to amaximus too)

this is my code to a single card with the container:

type: 'custom:card-templater'
title: Poubelles
card:
  type: picture-entity
  entity: sensor.plastique
  name_template: '{{ states.sensor.plastique.attributes.days }} days'
  show_name: true
  show_state: false
  state_image:
    '0': /local/containers/plast_today.png
    '1': /local/containers/plast_tomorrow.png
    '2': /local/containers/plast_off.png
entities:
  - sensor.plastique

Now im totally lost. I don’t know the priorities and how many type: and card: lines I have to put and the order to havec the Horizontal-Stack working correctly.

I will thank you for yout Code Eye-opening and i wish you à happy new-year!!

Murray_112

Please use the </> button.