set
suspend fun set(elementAddress: MeshAddress.UnicastAddress, state: Boolean, transitionTime: TransitionTime? = null): GenericOnOffStatus
Set the on/off state of a node (acknowledged).
Return
The new status after the operation completes.
Parameters
elementAddress
The unicast address of the element.
state
True for ON, false for OFF.
transitionTime
Optional smooth transition time.