Hey guys,
I also have another work around. Works with Tuya Sensors, Node Red and Alexa Routines, so does rely on the cloud.
First, you will need to link your Alexa to the Tuya / Smart Life skill in the Alexa app.
Then discover devices, so that your Tuya sensor is in the Alexa app.
In Node Red, I downloaded the alexa-local node. https://flows.nodered.org/node/node-red-contrib-alexa-local
I made two of these nodes, and named one SensorOpen and one SensorClosed.
Then I asked Alexa to discover devices, so she found SensorOpen and SensorClosed.
Then I made two routines in the Alexa app;
One to say when my Tuya sensor opens, then turn on SensorOpen.
One to say when my Tuya sensor closes, then turn on SensorClosed.
I played around in Node Red to hook up what lights I wanted to turn on and off, depending on if the sensor was opened or closed, linking the lights to the appropriately named node in node red.
It means that you don’t need a secondary plug in Tuya, because you can set up as many Alexa local nodes with whatever names you want, to match as many Tuya sensors as you have.
Hope this helps someone out!