Quantcast
Viewing all articles
Browse latest Browse all 104798

Horizontal stack with picture entity but want toggle below the picture

@tom_el_camino wrote:

Hi,

I have this example horizontal card:

Image may be NSFW.
Clik here to view.
horizontal card

code:

type: horizontal-stack
title: Lights
cards:

  • type: picture-entity
    name: living
    image: local/spotjes.jpg
    entity: light.spotjes
  • type: picture-entity
    name: keuken
    image: local/keuken.jpg
    entity: light.keuken
  • type: picture-entity
    name: lamp
    image: local/lamp.jpg
    entity: light.leeslamp
  • type: picture-entity
    name: bureau
    image: local/bureaulamp.jpg
    entity: light.slaapkamer

I would like to have a toggle switch below each picture, like this: (photoshopped)
Image may be NSFW.
Clik here to view.
end-result

what is the cleanest way to achieve this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 104798

Trending Articles