Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95925

Horizontal stack with picture entities

$
0
0

@solomos wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>