Trigger using time between a device is on or off would be useful to me.
-
If light keeps on by 10 minutes and gate is closed, then turn off lights.
-
If pump keeps on by 30 minutes, then turn off pump
-
If pool was turned off 48h ago, turn on pool, wait 1h and turn off pool.