Creates a new ComposedDevice.
DeviceTypeDefinitions of the composed device
Array with devices that should be combined into one device that are directly added.
Optional Endpoint options
ProtecteddeviceOne or multiple DeviceTypeDefinitions of the endpoint
Add a sub-device to the composed device.
Device instance to add
Protectedremove
A ComposedDevice is a special endpoint that allows to combine multiple sub devices and expose this as one device (e.g. a fan and a light).