testLED
Tests the LED by setting the color temporarily (non-persistent).
Return
A CommandResponse indicating the result.
Parameters
deviceId
The identifier of the target device.
color
The LEDColor object that contains the red, green, and blue values.
abstract fun testLED(deviceId: String, color: LEDColor, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of testLED for Java interoperability.
Parameters
deviceId
The identifier of the target device.
color
The LEDColor object that contains the red, green, and blue values.
callback
Callback to receive the CommandResponse.