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.