This device type code solution worked best for me: Mimolite for garage door and magnetic door contact