Just made my first Node-RED flow to detect whether the litter box is dirty or clean! 1: When motion in the litter box is detected, wait 5 seconds, check if the door is closed, and if so, set to "dirty" 2: When the door is opened, set to "clean" Took a bit to figure out all the Node-RED terminology...