Sensibo Sky and terrace door/window

Hi! I have been using hubitat for a year now and my house is really behaving good :slight_smile:
But now is the time for starting on more complex rules, and I think I need a little nudge in the right direction of how to think.

  1. my sensibo is setting the temp during day (06-22) to 23 degrees. Night (22-06) is 20 degrees
  2. if my terrace door or living room window is open, the sensibo must turn my heater off
  3. if the door or window is closed again (both must be closed), the sensibo must turn the heater on, at the right temp according to the time of day

I have tried sooo many different approaches, but I always find some situation that fails.
Can somebody please give me a little nudge? :smile: