fun rgb(id: String, name: String? = null, type: PropertyType = PropertyType.STATE, init: Property<RGB>.() -> Unit = {}): Property<RGB>
Add a property of color type rgb to this node
id - Each property of a node must have a unique id which adheres to the homie id convention
name - Friendly name of the property, defaults to the supplied id
type - Specifies the org.homieiot.PropertyType of property that is modeled
init - Block to embed org.homieiot.Property.subscribe and org.homieiot.Property.update functions for this property