updateLight
abstract suspend fun updateLight(id: ResourceId, parameters: LightUpdateParameters): ResourceReference
Update a light's state.
Return
A reference to the updated resource.
Parameters
id
The v2 unique ID of the light to fetch information for.
parameters
State to be changed on the light.