#Displaying a list of images + a date
1 messages · Page 1 of 1 (latest)
So here is where I'm
- type: picture-elements
image: /local/plantwater/maranta.jpg
card_mod:
style: |
ha-card {
width: 150px;
}
elements:
- type: image
image: /local/small/1pwhite.png
style:
top: 94%
left: 50%
card_mod:
style: |
hui-image {
width: 150px;
height: 40px;
opacity:0.7;
}
- type: state-label
tap_action: none
entity: input_datetime.plantwater_marantat
style:
top: 95%
left: 50%
card_mod:
style: |
div { color: #333333; }
And here is the code for 1 Image
My questions are :
- is there s simpler way tyo achieve that ?
- how to factorize this and repeat over 20 plants (Only the entity and the images are different)
Thank YOu !