If your Tuya contact sensor appears in Home Assistant as “Contact Sensor (unsupported)”, with product ID a9fn0xcsckjoqpnd, you can enable it with a small local device quirk. I tested this approach successfully with the standard Home Assistant Tuya integration.
The device is unusual because Tuya reports it under category tdq rather than the norma...