Table of Contents

Method AutoDelayOff

Namespace
Yeelight
Assembly
YeelightClient.dll

AutoDelayOff(int, int)

Makes a scene that turns the light on at a brightness, and turns it off again after a number of minutes.

public static YeelightScene AutoDelayOff(int brightness, int minutes)

Parameters

brightness int

The brightness, 1 to 100.

minutes int

The number of minutes after which the light is turned off, at least 1.

Returns

YeelightScene

The scene.

Exceptions

ArgumentOutOfRangeException

An argument is out of the range that the protocol allows.