janstol / yeedart

Simple Dart library that lets you control Yeelight devices over LAN.
MIT License
10 stars 4 forks source link

colorTemperature question #11

Closed guyluz11 closed 1 year ago

guyluz11 commented 2 years ago

In the documentation of the code it is written that

/// * [colorTemperature] - target color temperature (1700 - 6500 K).

What will happen if I will execute setColorTemperature with color temperature smaller than 1700 or bigger than 6500?.

Will it round it to the closes similar value or the request will fail to change the color temperature at all?.

janstol commented 1 year ago

I don't know. The documentation does not specify it and I haven't tried that myself.

guyluz11 commented 1 year ago

Thanks