Multiple child switches under one parent

I have been modifying a child/parent example driver from @mike.maxwell (Generic Component Parent Demo), trying to get multiple child switches under a single parent. It would help if I had a driver I could lean from that already had multiple switches. Can anyone point me to a multiple-switch parent/child driver I can play with?

They are not multiple switches but my sendmail v3 parent device creates and deletes multiple child devices.

1 Like

You could look at Single Active Switch, a parent which creates many child switches and ensures at most one is on at any time.


Did you try the Hubitat official Github? There are many examples in there.

1 Like

I was able to add my 3 child switches that trigger MQTT on/off requests back through the parent.

Thanks for the help!!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.