Measure “spikes” at a room temperature sensor

Hi Forum,
I’m seeking a binary sensor which triggers if a value from a temperature reading is outside the normal trend.
I have a sensor placed above my shower which gives me clear data when a shower has been used by increased temperature spikes.
How do I formulate a binary sensor that reads these spikes? I’m also looking for a solution which don’t trigger on a hot day or when the sun comes up. I only want the sensor to trigger if the temperature is abnormally - maybe some statistics should be used like std. deviation or variance?

Please help me :sunglasses:

Cheers, Rasmus

Maybe try the trend binary sensor.