The source project of this merge request has been removed.
New current_brightness property for get_properties()
In get_properties()
a new current_brightness
key is added which represents the current brightness, aware of the bulb's state.
It is 0 if the bulb is off. Otherwise it is 1-100 representing the brightness in %
This is aware of the night light mode, and the brightness will be reported correctly.
If the requested_properties
array doesn't contain the necessary parameters, current_brightness
will not be added to the properties array.
Edited by Zoé B