Horizontal stack with picture entities

hello,
I have created 3 scripts that call 3 different scenes on Hue. When I create an entity button it works as expected. I wanted to have pictures instead of icons so I decided to switch to horizontal stack

image

This is the result I want and I have it with the following code:

type: horizontal-stack
cards:
  - type: picture-entity
    image: /local/hue/aurora.jpg
    entity: script.1576355405128
  - type: picture-entity
    image: /local/hue/savanna.jpg
    entity: script.1576354482086
  - type: picture-entity
    image: /local/hue/thisisme.jpg
    entity: script.1576356664953

It works, but not as expected. It opens a new window where I have to click execute to work.

image

I was wondering, if there is a way I can have 3 images in an horizontal cards, which will call the scene instantly when I click them?

Use the tap_action option. https://www.home-assistant.io/lovelace/picture-entity/#tap_action

thank you! Tap action solved the problem.

However, as I am a newbie, I wasn’t careful with the indentation to the action. So although I was trying with it from the first place I couldn’t imagine that the indentation to the “action” is so important. Thanks again!