Will give that a test. Adjusted the Trend sensor to monitor your “noisy” template sensor, with a small adjustment for the random value (as yours would never create a spike above 0,4), so using (range(1000)|random / 1000) .
Then you misunderstand the need for the noise. It shouldn’t generate spikes, just near-insignificant changes to the value to force a state update every minute.
Okay, reverted
I understand now why I need a “noisy” template sensor. This is to have enough samples in the Trend Sensor for that sensor to check the trend. Thx!
Your min samples is killing you. Over 8 hours I see 9 state changes, I.e. 9 samples. It will never get to the sample rate that you have as a minimum.
FYI, the T6 also doesn’t really have the resolution for temperature that you’re looking to detect. Try using the derivative sensor instead. Which will provide you with the rate of change of temperature.
No, stop using trend. Just use derivative. Watch the value for a few days and you’ll then know what numerical value to trigger on with your automation.
There isn’t going to be a magic bullet that you can provide right out of the gate.