I’m running ZHA with a CC2531 stick flashed with Z-Stack 3.0.1.
I’ve got a Sonoff temperature sensor, and a Sonoff mini switch.
Both devices are paired to ZHA, and the temperature sensor is working perfectly fine.
However I can’t figure out how to configure the switch. The only entity it has is the battery level, and I’m not sure what to do. ZHA says “Device Type: EndDevice”. Should it say switch? I tried to change it following the instructions for “MODIFYING THE DEVICE TYPE” on the ZHA Home Assistant guide, but it didn’t seem to do anything.
Is there something obvious I’m missing? I’m pretty new to HA so not sure what I’m doing.
When I press the button on the switch, it updates the “device last seen” entry on device info, so it is definitely doing something
I’ve gone to events under developer tools, and then where it says ‘listen to events’, I typed zha_events and started listening. Then pressed the switch button, but nothing comes up. Again I’m unsure if I’m doing the right thing here.
To see the button presses, go to developer tools, events, and in the box type in * then start listening (not zha_events). You should then see something come up when you press the buttons. Use the ‘device_ieee’ and ‘command’ to program the button presses in your automations