Zoom / crop content in a picture-entity card (card-mod?)

Is it possible to zoom or crop content in a picture entity card? Possibly using card-mod with css?

This is the configuration I’ve used:

            type: picture-entity
            entity: camera.buienradar
            show_state: false
            show_name: false
            camera_view: live
            aspect_ratio: 1

I would like to get the full card filled (you now see the card background at the bottom). I played with the aspect_ratio, but this didn’t fill the bottom part). And I would like to only see a zoomed/cropped part of the picture (the map of the Netherlands is too far zoomed out at the moment)

Bump. Also looking for a solution!

1 Like