This is a nice use of Design Pattern: Expire Binding Based Timers. But I think there is a way to get rid of rule 1 and 2.
-
Link the StudyFreezerDoorTimer to the same Channel as
StudyFreezerDoorSensor_OpenClose. You might need to add a passthrough transformation profile (something likeREGEX:(.*)) which will convert the OpenClosedType to a String that is usable by the String Item. -
If you don’t transform the OPEN/CLOSED to ON/OFF, you’ll need to change the trigger on the third rule to trigger on changed from OPEN to ALARM.
It’s pretty much the same approach with fewer rules.