Help converting driver to parent/child

Hi,
I found a driver for Philio PAN04 Dual relay switch:

Would love to find or get help converting it to Parent with 2 child objects (switches) so i can have 2 tiles in dashboard and 2 devices on google home... :thinking:
Any help would be appreciated,
Lior

There are some generic examples on the Hubitat Public site. Explicitly:

Parent: https://raw.githubusercontent.com/hubitat/HubitatPublic/master/examples/drivers/genericComponentParentDemo.groovy
Child (dimmer example): https://raw.githubusercontent.com/hubitat/HubitatPublic/master/examples/drivers/genericComponentDimmer.groovy

Good luck.

Have you tried using some of the built-in driver types to see if any of them will work with this device? There is a Generic Z-Wave Plus MultiSwitch driver that might fit the bill, if you havenโ€™t already tried it. Make sure you click Configure after changing and saving the driver type. Itโ€™s worth a shot :sunglasses:

Tried Many of the Build in drivers, most of the times i didn't get any child devices nor some of them even light of the switch...
at the end this driver helped:

if anyone needs a driver for Philio PAN04 Dual switch, this one works and makes two child objects...
Thanks everyone :slight_smile:

1 Like

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