NEW: Tuya ZigBee Smart Battery Switch

That’s exactly how I’ve done it. But you’re way with child devices should work too I’ve just never done it that way. I believe you will have to create two separate handlers ( one parent one child) though and both will need to report the supported button values as a JSON object. When the values are reported they show in the device settings in the IDE like the screenshot in this linked post. If those supported button values are missing or not a JSON object you can’t do automations with them. [OBSOLETE] HomeSeer Dimmer and Switch (HS-WD100+ / HS-WS100+) Device Handlers - #175 by nickha