-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add button support #47
Comments
I am actually looking to buy a zigbee remote / switch. Do you have them set-up as different entities right now? Can you post the DPs details, maybe from tuyaconsole? |
I have the remote controls, but they are almost useless with LocalTuya because when I press the button again, no event occurs and the state does not change. The event and state changes only occur when using different button presses. For example, a second single click won't trigger an event in HA, only a double click after a single click will. This is the essence of the problem. I can provide a section of my configuration for the three-button remote control if needed.
|
@atlantden, i am looking for the DPs specification. Normally I would expect different DPs for the different actions (e.g. button 1 single press - dp 1, button 1 double press - dp 2 etc) because I am assuming the device is the one that interprets the action and sends the information. So can you provide the device specification from tuya developer console to confirm that? |
It has one DP for the each button. button 1 - dp 1, button 2 - dp 2 But events are "single_click" "double_click" "long_press". Thees events thats i get in HA |
Yes I use this endpoint. It used to show fine, now it has become so. |
We need support for Zigbee buttons in integration, such as 1-3 key switches and similar ones. Currently, it is not possible to add them correctly through a single entity, as, for example, the sensor does not change state with a sequential single press - the status remains the same. The status only changes when a different action is taken, such as making a double press after a single press, and so on.
The text was updated successfully, but these errors were encountered: