Is there a way to use camera image for picture elements card?

Is there a way to use camera image for picture elements card?

1 Like

The image element got a property for that, I think…


Maybe you can use some css (style property) to influence size etc
1 Like

I ended up using this and it works great.

 - type: picture-elements
        #title: backyard
        image: /local/images/ph.jpg
        elements:
          - type: image
            entity: camera.backyard
            camera_image: camera.backyard
            style:
              left: 50%
              top: 50%
              width: 100%
              heigth: 100%
3 Likes