|
|
get_ lightness_present() and get_ lightness_target () can to obtained,the two values are different during the gradient process, depending on the your's needs。usually get_ lightness_target () is used。If get_lightness_target() is 0, it means the light is off, otherwise it is turned on。
this is “And I want to get on/off status and current brightness level.” |
|
|
|
|
|
|
|
|