Skip to content

Conversation

@rhakbari
Copy link
Contributor

@rhakbari rhakbari commented Jan 2, 2026

Double triggering of state on single button click on HA and Z2MQTT frontend for _TZE204_wktrysab 8 gang wall switch.

The issue was happening when the device was paired again after deleting it from HA. When the button was clicked once the state was not registering to the device and when there was any other trigger of state on any other switch or the same switch then the previous state was register with the new one.

This issue has been resolved in the PR.

@rhakbari
Copy link
Contributor Author

rhakbari commented Jan 2, 2026

@Koenkk Kindly review and merge. Thanks

@Koenkk
Copy link
Owner

Koenkk commented Jan 3, 2026

This duplicates a lot of code, can the fix be integrated into the existing code?

@rhakbari
Copy link
Contributor Author

rhakbari commented Jan 6, 2026

@Koenkk I can do it in the existing code but i dont know if people with other models with the existing code are facing the same issue as me and if they aren't then there's a chance this code might cause issue for them because this fix is specifically for the model I am using at my home.

@Koenkk
Copy link
Owner

Koenkk commented Jan 6, 2026

Could you provide me the debug log when the duplicate trigger happens?

See this on how to enable debug logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants