Table of Contents

Method ColorTemperature

Namespace
Yeelight
Assembly
YeelightClient.dll

ColorTemperature(int, int)

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

public static YeelightScene ColorTemperature(int kelvin, int brightness)

Parameters

kelvin int

The colour temperature, 1700 to 6500.

brightness int

The brightness, 1 to 100.

Returns

YeelightScene

The scene.

Exceptions

ArgumentOutOfRangeException

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