The guest switch may be useful for something else, but in this case, it’s the state of the devices I’m after. Since guests won’t have any devices that make a difference, whether they are there or not is of no consequence. 
What I’m trying to do is work out the state detection to use with this: Automating unifi port forwarding based upon presence detection