TheAgentK / tuya-mqtt

Nodejs-Script to combine tuyaapi and openhab via mqtt
MIT License
173 stars 81 forks source link

Add retain option #70

Closed PentBeear closed 3 years ago

PentBeear commented 3 years ago

This just changes the publishMqtt function to accept an extra parameter for retaining, no overloading needed as I just changed all the use cases in the tuya device file to match the new format.