JohanBendz / com.tuya.zigbee

MIT License
63 stars 121 forks source link

_TZ3000_wkai4ga5 actions interpreted twice and long press on buttons not supported #864

Open RBouroubi opened 4 months ago

RBouroubi commented 4 months ago

Describe the bug - //I've seen other issues posted but solutions aren't OK or users didn't give you the right information, I've decided to open a new one from scratch with (I hope) all necessary information.

When we use 1 click or 2 clicks (with WHEN) the action is done twice (same for all 4 buttons) The "Long press" action isn't listed

To Reproduce

Steps to reproduce the behavior:

I've purshased new ones, I did a simple Alternate on click and the lights are going ON and OFF again directly. I created an advanced flow with variables to increment when I click or double click and each time an action is done once, the variable increments twice.

Expected behavior

Only one action Add "Long Click" on the actions list

App and Homey version

Homey Pro (Early 2019) 10.0.9 Tuya Zigbee App v0.2.26 dev

Additional context

Please find the Interview of the device :

"ids": { "modelId": "TS0044", "manufacturerName": "_TZ3000_wkai4ga5" }, "endpoints": { "endpointDescriptors": [ { "endpointId": 1, "applicationProfileId": 260, "applicationDeviceId": 0, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 0, 1, 6 ], "outputClusters": [ 25, 10 ] }, { "endpointId": 2, "applicationProfileId": 260, "applicationDeviceId": 0, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 1, 6 ], "outputClusters": [] }, { "endpointId": 3, "applicationProfileId": 260, "applicationDeviceId": 0, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 1, 6 ], "outputClusters": [] }, { "endpointId": 4, "applicationProfileId": 260, "applicationDeviceId": 0, "applicationDeviceVersion": 0, "_reserved1": 1, "inputClusters": [ 1, 6 ], "outputClusters": [] } ], "endpoints": { "1": { "clusters": { "basic": {}, "powerConfiguration": {}, "onOff": {} }, "bindings": { "ota": { "attributes": [], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" }, "time": { "attributes": [], "commandsGenerated": "UNSUP_GENERAL_COMMAND", "commandsReceived": "UNSUP_GENERAL_COMMAND" } } }, "2": { "clusters": { "powerConfiguration": { "attributes": [ { "acl": [ "readable", "reportable" ], "id": 0, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 32, "name": "batteryVoltage", "value": 30, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 33, "name": "batteryPercentageRemaining", "value": 200, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } }, { "acl": [ "readable", "reportable" ], "id": 65533, "name": "clusterRevision", "value": 1, "reportingConfiguration": { "status": "NOT_FOUND", "direction": "reported" } } ] }, "onOff": {} }, "bindings": {} }, "3": { "clusters": { "powerConfiguration": {}, "onOff": {} }, "bindings": {} }, "4": { "clusters": { "powerConfiguration": {}, "onOff": {} }, "bindings": {} } } }