Howto make a rule thats somthing on for x time when a value is reached

You must be using a Number:Dimensionless instead of just a plain old Number Item. They have to be dealt with slightly differently, and I’m not sure how it works with the persistence calls.

I’m guessing it doesn’t see the unit since only currHum had the %. I think something like the following will work.

val currHum = (HumidSensor_OfficeFridge.state as QuantityType<Number>).intValue

You the man… that worked! Thanks as always.