Customize Sensor info

I want to set an image on my sensor but when I do this the sensor information disappears. I’m therefore wondering if I can have the sensor information display in the orange overlay like seen on my “average house temp” sensor in the image below:

Not sure how I would go about doing this though. Any pointers appreciated!