Lode1
(Lode Bongaerts)
December 2, 2024, 4:49pm
1
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}
Lode1
(Lode Bongaerts)
December 2, 2024, 4:54pm
2
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
Lode1
(Lode Bongaerts)
December 4, 2024, 9:05am
4
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
is wrong since it should be “100px” (w/o a whitespace) and besides a beginner may not know where to place it.