Or, you could connect the wires and put the (relay) switch near the light fixture(or inside) this way you have neutral available. And use a zigbee wall switch.
oxbcoin
joined 11 months ago
Not the most fancy solution, but you could use some high tack glue. Just a few very small dots will do the trick. And if you need to take the switch off just take a utility knife. Like i said not elegant..
Problem solved reconnected the tuya api and it's working again.