Table of Contents

Class YeelightBackgroundLight

Namespace
Yeelight
Assembly
YeelightClient.dll

The background light of a device that has one (some ceiling lights): its state, and the same commands as the main light.

public sealed class YeelightBackgroundLight : YeelightLight, INotifyPropertyChanged
Inheritance
YeelightBackgroundLight
Implements
Inherited Members

Remarks

Get it from Background. Every command is the background twin of that of the main light: the protocol names them bg_set_power, bg_set_bright, and so on. The commands share the connection of the device, and so its limit of 60 commands a minute. A device that has no background light does not list these methods, and the commands throw a NotSupportedException.