State-label unknow type

I need help to create badge. Following the docs I have created a card with:

type: state-label
entity: sensor.thermo1_battery

error

unknow type encontered: state-label

what shoud I install to get it works

That is not a valid card. That is an element of a picture entities card.

For a list of available cards and how to configure them see the right hand column here:

hello.
the answer was so easy.
in the dashboard menu there is a badge tab. I spend a lot of time because I didn’t see this.
now badge are easy and lovely. I redesign my dashboard and I was able to delete 80% of my cards working with badge.
Pierre