How to do conditions on glance card

I have a sensor that’s glitching. When it glitches, it gives an outrageous number. However, when it works, it’s good. So I’d like to have a dashboard card entity to display only when it’s not outrageous and if it is, just keep the last normal reading.

For example, my sensor is a temperature sensor for a pool. When it glitches it goes to 250F. So I’d like to use some logic like If it’s >105F, then keep displaying last valid value.

  1. If the Glance card contains only one sensor:
    You may define “visibility” for the card based on conditions: if value > 100500 → then do not show.
  2. The the card contains many entities - and you need to hide only some sensor:
    use entity-filter card (example in doc for Glance card) with similar condition.

Sounds good. I just heard from the mfg that they will be issuing a firmware fix today. If they don’t, I’ll put it on a single card and do this