Table of Contents

Class YeelightScene

Namespace
Yeelight
Assembly
YeelightClient.dll

A scene: a state that a light is set to directly, turning it on first when it is off.

public sealed class YeelightScene
Inheritance
YeelightScene
Inherited Members

Remarks

Make a scene with one of its static methods, and set it with SetSceneAsync(YeelightScene, CancellationToken). Unlike most commands a scene is accepted by a light that is off.

Methods

AutoDelayOff(int, int)

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

ColorTemperature(int, int)

Makes a scene that sets a colour temperature and a brightness.

Flow(ColorFlow)

Makes a scene that starts a colour flow.

Hsv(int, int, int)

Makes a scene that sets a colour, as a hue and a saturation, and a brightness.

Rgb(Color, int)

Makes a scene that sets a colour and a brightness.

Rgb(int, int, int, int)

Makes a scene that sets a colour and a brightness.

ToString()

Returns a string that represents the current object.