Xiaomi Aqara Wall Switch D1

The back panel is removable, by inserting a flathead screwdriver under two tabs on the bottom edge. The panel has recessed holes for drilling through and attaching to a surface - see photo:


I’m in Australia so I’m not familiar with the UK back boxes, but after some googling, I think the holes are 60mm apart. The D1 holes half-way down the sides look to be about the same.

Hi,

Please tell me how you handle the button click status.
There are statuses in HA:
last_action: single
voltage: 3.08
battery_level: 55
friendly_name: Wall Switch (Left) _

In automation, when switching, I handle the “last_action” status, but if it changes from single to single, the automation does not work. What is the right way to handle all the changes?

Maybe try this custom intergrations

In this solution, binding to the Chinese cloud. Which works not entirely predictably. I would like completely local control. Anyone else have any ideas?