If you're using DCS-BIOS you can send the open switch cover event before sending the toggle switch event. I've done this with mine.