Table of Contents

Method CancelSleepTimerAsync

Namespace
Yeelight
Assembly
YeelightClient.dll

CancelSleepTimerAsync(CancellationToken)

Stops the sleep timer.

public Task CancelSleepTimerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

To stop waiting for the answer.

Returns

Task

A task that ends when the light has answered.