Table of Contents

Method FindDevice

Namespace
Yeelight
Assembly
YeelightClient.dll

FindDevice(string)

Finds a light by its id.

public YeelightDevice? FindDevice(string id)

Parameters

id string

The id of the light, for example 0x000000000015243f (the case does not matter).

Returns

YeelightDevice

The light, or null when the client has not found it.

Exceptions

ArgumentNullException

id is null.