How do you block Agent actions? How do you cancel or block a wakeup callback?

I want to hold off responding to any interrupts for a time. How can I do this?

You could have a global “enable” that you check in every device.on() handler, discarding the event if enable isn’t true?

As noted in other threads, you can’t cancel a wakeup. The method above would work (and then not scheduling another wakeup), but it’s messy. Adjustable wakeups are in the queue.