How to override a motion detector

I have motion override for all my motion detectors, maybe 6.
I have a bunch of GE/Jasco toggle switches and I use @JasonJoel 's driver, link below.
I use simple automation with a virtual restriction switch.
If I flip the toggle up 3 times it turns on that switch and disables the rule.
Three flips down enables turns off the switch and enables the rule.
I also do it for the contact switch at the top of the basement stairs.
I figured out how to light up the toggle when motion is disabled, again with @JasonJoel 's help on an older thread-I keep the switch leds turned off except for this and when the gate is open.