MQTT config for 2 Channel Tasmota relay

any MQTT experts that can help me please. I have flashed a 2 Channel Relay with Tasmota and now want to use the GPIO14 with a door contact to read the status of the gate.

I have seen some videos on the MQTT topics but don’t think they apply to my config since I have 2 relays and want to use the GPOI14 as switch.

any one that can help with the correct MQTT setting to make sure the switch is separate from the relays? and what the config will look like to add it on a card. Already have the 2 Relays sorted and in HA.