Change entity_picture size in custom button card (new dashboard !)

This is what i have in a custom-buton card in the new dashbord.
That’s ok but how to change the size of the entity_picture in ha-card ?

type: custom:button-card
entity: switch.862
show_entity_picture: true
entity_picture: /local/pmd-400px.png
name: PMD
layout_options:
  grid_columns: 1
  grid_rows: 2
styles:
  card:
    - height: 100%
card_mod:
  style: |
    :host {height: 100% !important}

Found it, post may deleted.

Why not posting your solution then? Would be useful for someone. Community is about sharing an experience. Do not want to share your solution → do not ask questions anyone.

1 Like

Because it was that easy but I just forgot it.
That’s why I asked the mod to delete my post.

size: 100 px

I always share my solutions and help where i can.

You should be ashamed of yourself for posting such an answer.

Well, I am not)
In fact, this code
image
is wrong since it should be “100px” (w/o a whitespace) and besides a beginner may not know where to place it.

Well, I am not)

I know why……