There are a few different methods for connecting Tuya devices to openHAB. Personally, I favour flashing them with Tasmota firmware using Tuya-convert.