After years of HA I have just started with a ConBee 2 hub and bought my first 4 button zigbee switch.
In the GUI the trigger drop down helpfully reports various button options.
So logically I thought to select the 4 options of “First Button” pressed, "“Second Button” pressed etc for the 4 buttons.
However after hours of head scratching it turns out that the 4 buttons are mapped as follows:-
Is this a limitation of the integration or have I done something wrong in adding the device to the zigbee hub or is it the particular Zigbee 4 button hardware I chose. (Tuya TS0004F)?
Should all the button press types be supported i.e. 3 short presses?
Snippet of automation to show “dim_up” as the sub_type
I seem to think there was no option. I plugged the Conbee 2 into the Pi, HA recognised it and asked to “Add Zigbee Device” Integration. I then used the integration to add the device which it did automatically. So I then had a Zigbeecoordinator.
How can selecting “Dim up” map to Button 3 rather than “Third Button” pressed.
Also if you select “Third Button” pressed twice it does not trigger when the 3rd button is pressed twice.
When using Tuya 4F button in ZHA it have 2 modes, hence you can only chose the modes you switch deliver. There is a very long discussion on this and you can quite easily change the version as I read it.
I use Zigbee2mqtt, where the switch behave as a 12 scene switch.
You can alternatively use Zigbee2MQTT or deCONZ/Phoscon but they all have different pros and cons.
PS: Tuya or Aqara/Xiaomi are infamous for not following Zigbee specification standards so almost all their devices need developers to make custom device handlers that parse and translate each device.