I only skimmed this topic, but is there a reason why you're not using the Zooz Garage Door Opener app that Zooz had written specifically for the ZEN16?
It has a built-in feature that ignores duplicate commands so if you have Alexa turn off a virtual switch and a rule execute the close command of both doors, that command should be ignored for the doors that are already closed.