How to to get a state popup icon over icon (see pic)

Hey guys, may be this is pretty simple but how can I get this effect in the picture on a mushroom-template-card

Icon Pop Up

This is :Cooling, Idle, Heating, Off for a climate entity.

Thanks!!!