Hi all,
I’m currently using an Xsky 2-Button Dimmer Switch with Zigbee2MQTT, and everything works great when it comes to automations. I can use the switch’s on/off, dim up, dim down, and move to level actions as input triggers in my automations without any issues.
However, I’ve been facing a challenge when I try to integrate the same dimmer switch with ZHA (Zigbee Home Automation). Despite the switch working properly in Zigbee2MQTT, I’m unable to use the same behaviors (like on/off, dim up, dim down, move to level) as automation triggers in ZHA.
Here’s what I’ve tried:
- I checked the ZHA integration in Home Assistant, but unlike Zigbee2MQTT, the switch’s actions don’t show up in the automation triggers.
- I’ve already tried using the ZHA event listener in Developer Tools to capture
zha_event
, but I don’t see the expected behavior being triggered when I use the switch.
My setup:
- I’m using a Sonoff Zigbee 3.0 USB Dongle.
- The dimmer switch is working fine with Zigbee2MQTT, where I can easily trigger automation events like on, off, dim up, dim down, and move to level.
What I need help with:
- How can I get the Xsky 2-Button Dimmer Switch to trigger automation actions in ZHA?
- Is there something specific I need to configure in the ZHA integration to support these actions, or do I need to write custom quirks for the device?
- Is it possible to add support for this dimmer switch in ZHA using Home Assistant’s native functionality, or do I need to rely on Zigbee2MQTT for this?
I’d appreciate any guidance or suggestions from the community on how to make this work in ZHA, or if anyone has successfully managed to use a similar dimmer switch in their ZHA setup.
Thank you in advance!