Possible to hide state-label based on conditions?

I’m using a pictures-element card to overlay my pool and hot-tub temperature. I’d like to hide the hot-tub temperature if hot-tub is off. What is the the best way to do this? There isn’t a ‘state’ with the ‘state-label’ element.

Thanks!

image

As over-complicated as this will sound, the way to to this would be make 2 versions of the picture-entity card. one with the temperature, and one without. Place it into a conditional card looking at the on/off state of the hot-tub.

Thanks, great idea. Finally got around to implementing it; works like a champ!