Search the forum for “flapping” or “debounce” and you will find lots of examples of what Bruce suggested. One example is in Generic Presence Detection.
Search the forum for “flapping” or “debounce” and you will find lots of examples of what Bruce suggested. One example is in Generic Presence Detection.