Troubleshooting Tuya TS0002 Zigbee Switch with OpenHAB

I recently acquired a Tuya TS0002 2-gang Zigbee switch and have been trying to integrate it into my OpenHAB setup. While the device is recognized and appears in the system, I’m encountering an issue where commands sent to one endpoint affect both switches. This is quite perplexing, as the physical switches function correctly when manually toggled, and the state updates reflect the correct status for each endpoint. However, sending a command to one switch inadvertently affects the other, which is not the desired behavior.

I’ve thoroughly reviewed the device’s fingerprint and logs, which indicate that both endpoints are correctly identified. The logs show that when I send a command to one switch, it’s reflected on both endpoints, despite the commands being sent to specific endpoints. This suggests that there might be a misconfiguration or a bug in how the Zigbee binding handles multi-endpoint devices.

I’ve explored transitioning to Zigbee2MQTT as a potential workaround, but I’d prefer to resolve this issue within the native Zigbee binding to maintain consistency in my setup. I’m curious if others have encountered similar issues or if there are known fixes or workarounds for this specific device.

Any insights or suggestions from the community would be greatly appreciated. I’m hopeful that with some troubleshooting, I can get both switches functioning independently as intended. Thanks in advance for your help!