Property MaxDevices
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
MaxDevices
Gets the most lights that the client keeps. Anyone on the network can announce a light, so what the client keeps is bounded: once it has this many, the announcements of other lights are ignored (a warning is logged once). The default is 1000, which is more than any network has; a client for a home can set a lower one.
public int MaxDevices { get; init; }