The Dynon EMS-220 has general input pins that can be used to detect a switch. I recently installed a microswitch on my -7 that is wired to a GPIO pin on the EMS. The EMS has quite a few GPIO (general purpose and enhanced general purpose pins) that can be used for different sensors (switches, voltages, etc.)
https://dynonavionics.com/includes/guides/SkyView_System_Installation_Guide-Rev_AM.pdf - Page 217 of the PDF talks about Contacts
When you wire the canopy switch don't forget to load the canopy switch file. It is a very small file. This enables the vocal warning above the RPM you choose. I set mine for 1900 RPM. On start and during taxi the canopy widget will show the canopy not locked but no vocal warning. I chose 1900 so I could do the run up with the canopy in the venting position. If RPM exceeds 1900 (in my case) a vocal "Check Canopy" comes through the audio. You can edit the file to change the RPM setting.