ST Routines don’t support the notion of “any change”, but rather state changes from one state to another. So, a range of temperatures will not produce a state change if it is still within the range.
You could use a 3rd party rules engine like Sharptools which has the option for “any change”. The tradeoff is that the routine will run in their cloud, not local on your hub.