i’m trying to add picture element card inside horizontal-stack.
cant get it to work.
can anybudy help with that?
cards:
- cards:
- card:
type: picture-elements
aspect_ratio: 969
image: /local/red.jpg
overflow: hidden
elements:
- entity: sensor.time
style: null
color: white
font-size: 8vw
left: 50%
top: 35%
type: state-label
- entity: sensor.date
style: null
color: white
font-size: 2vw
left: 50%
top: 70%
type: state-label
- card:
aspect_ratio: 969
image: /local/images/lights11.jpg
tap_action:
action: navigate
navigation_path: /lovelace/security
type: picture
style:
border-radius: 20px
border: 'solid 1px rgba(100,100,100,0.6)'
box-shadow: '3px 3px rgba(0,0,0,0.4)'
overflow: hidden
type: 'custom:card-modder'
type: horizontal-stack
and also, way is it look like that
cards:
- cards:
- card:
shouldn’t it look like that:
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
???