ogiewon
September 5, 2018, 1:29pm
7
guyeeba:
well, that's why I decided to build one for myself.
Okay, thanks for all the help, hopefully I'll be able to carry on by myself...
Here are some tips to help you get started
Hubitat now supports devices having child devices. The methods that are available are as follows:
Parent Device Methods:
ChildDeviceWrapper addChildDevice(String namespace, String typeName, String deviceNetworkId, Map properties = [:])
ChildDeviceWrapper addChildDevice(String typeName, String deviceNetworkId, Map properties = [:])
Creates a new child device and returns that device from the method call.
Parameters:
Type
Parameter
description
String
namespace
The namespace of the chi…
and you can refer to the ST Composite Device Handler docs for an overview...but be aware, the API is not exactly the same on Hubitat so refer to the above information from @chuck.schwer on how to use the Composite Driver API calls.
https://docs.smartthings.com/en/latest/composite-devices/
Good luck and let us know if you have any questions. Lots of helpful folks here in the community!