Hacking entities card

So I’ve been putting mini-graph-card into the header of a card

It seems to work fine

It’s not happy tho

Is there a better way that doesn’t make HA spew?