I recently bought a zigbee button to control some devices that couldnt connect to a wired switch. The button was correctly connected to Z2MQTT and I is detected as ZG-101L
It exposes 3 variables: battery, Operation mode and action. The problem is the action variable cannot be read or write and if I search the states with this device name, only battery and operation appears. “action” is the main variable for this devices as it shows when the button is pushed, but if it cannot be read I don’t know how to use the device.
The possible values are: single , double , hold , brightness_move_to_level , color_temperature_move , brightness_step_up , brightness_step_down , on , off
As I explained in the other post they are different problems.
The first one is related with not being able to use the actions. That is not a problem related with the integration of this device but with the configuration of Z2M itself as explained previously in this post by @tom_l . It is solved by configuring correctly the addon. After doing it, the action can be used but an error message appears in the Z2M addon, but not linked to this device but with the addon configuration. If you have any suggestion on how to avoid this problem it would be very helpful.
The other problem with the operation mode it’s related with the integration, but it’s a different problem. I didn’t know crossposting was a problem. It seems helpful to link to the post where the solution is shown , as done in this post by the moderator.
I tried to change it in the configuration.yaml but it seems that, despite the error appearing, the configuration was done after restarting the addon , as these options (enabling discovering and the experimental option) are already changed to true in the configuration.yaml. Maybe the error is appearing because the change was made with the addon running?