Solved: Linkind ZS230002 Step Feature Issue with Zigbee2MQTT

I’ve been working on getting the step feature to work with my Linkind ZS230002 buttons using Zigbee2MQTT and Home Assistant. Initially, I could only manage basic on/off functionality, which was quite frustrating. Here’s what I did to resolve the issue:

Setup Details:

  • Hardware: Two Linkind ZS230002 buttons.
  • Software: Home Assistant with Zigbee2MQTT integration.

Problem:
When I first set up the buttons, the step feature (using the up and down buttons to adjust brightness) wasn’t working as expected. The buttons would only trigger a single action instead of smoothly adjusting the brightness.

Troubleshooting Steps:

  1. Checked Zigbee2MQTT Documentation: I found information about the simulated_brightness option in the device settings. This option allows the device to simulate brightness changes, which is essential for the step feature to work.
  2. Adjusted Settings in Zigbee2MQTT: I enabled simulated_brightness with default values (delta: 20, interval: 200). This change added a new brightness attribute to the device state.
  3. Tested Brightness Values: By monitoring the device state, I observed that the brightness attribute changed in steps: 13, 64, 127, 191, and 255. This confirmed that the step feature was now functional.
  4. Configured Triggers in Home Assistant: I set up automations using the new brightness attribute. Initially, I had issues with the trigger configuration, but removing the quotation marks from the to value in the YAML file resolved the problem.

Solution:
By enabling simulated_brightness and correctly configuring the triggers in Home Assistant, I successfully implemented the step feature for my Linkind ZS230002 buttons. This allows me to smoothly adjust the brightness of my lights using the up and down buttons.

Conclusion:
It was a bit of a journey, but I’m thrilled to have the step feature working now. If anyone else is struggling with similar issues, I hope this helps! Feel free to share your experiences or ask questions below. :blush: