Compare state vs state a while ago

Hello,
Looking for a way to determine difference between a room heating up because of the sun, vs heating up because of heater that’s turned on.
The sensor is directly above the heater, so when the heater is turned on, the rise in temperature is much quicker than when the sun starts shining through the window. I wonder if there is a way to check “how quickly” the temperature is rising, or what the difference is of the current temperature vs. for example 5 min ago.
Thanks for any tips!

The trend binary sensor can be configured to only turn on at a particular rate of change:

1 Like

ah, yes, as usual using the right search words is key!
Thanks for the very quick response. :+1:

1 Like