After much research finally came up with a solution
Found Relay from Functional Devices Inc - Model RIBM02ZNDC and Flair Pill Style Surface mount Door/Window proximity contact switch model VIP120-2 which works great I also plug in a small LED night light which only lights when the appliance garage door is completely open and also lights up the inside of the appliance garage - passed electrical inspection with flying colours.
Q
Windows
Q