HABmin Rule Designer: when then if

Really, don’t use that.

Yes, this section describes the trigger event to run the rule. You don’t have any trigger event at all there, I guess what you would want to use as a trigger is when the window changes to open.