Why entity card is not showing entity icon?

Hi,

I have a custom sensor (wind compass) in which the icon changes according to the wind direction.
It is displayed correctly when I use the “entities” card in a small circle next to the name, but when I use an “entity” card it is not shown on the card but when I open the “more information”

image

refresh your cache, CTRL+F5

Still the same,

I solved it with this code, but now I’m not able to show the sensor value…

Just found it… show_state: true