looking for a solution (and posibily a dzVent implementation

Example:
I do have my presence system based on BLE.... but before starting some action I would need the magnet on the front door to be opened.
Actually I can do this valuating the .lastUpdate() within a period, but this would take me 2 or mode complex scripts.
I was looking for an implementatoin like:
Code: Select all
on = {
devices = { 'Door switch'},
dependDevices = {'Presence' = 'last 1 minutes'}
},
would it be difficult?

ciao
M