Table of Contents

Method SetDefaultAsync

Namespace
Yeelight
Assembly
YeelightClient.dll

SetDefaultAsync(CancellationToken)

Saves the current state of the light in its memory, so that it shows that state when it is switched on at the wall again (after a loss of power). Only a light that is on accepts it.

public Task SetDefaultAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

To stop waiting for the answer.

Returns

Task

A task that ends when the light has answered.