How to monitor if Multipurpose sensor is open for a long time

See the community FAQ: there are several ways to do it with the new app, but not as part of the official features.

FAQ: Get a Notification if Something is Left On, Open, or Unlocked for X Minutes (2020)