if door/windows sensor is open more then

Hi,

how can i achieve that my door sensor will trigger someting if it’s open more then XX?

THX

Reactor, using a “sustained for” option on the condition to test the door/window.