platypush/plugins/light/hue/__init__.py
def bri(self, value, lights=None, groups=None, **kwargs):
        """
        Set lights/groups brightness.

        :param lights: Lights to control (names or light objects). Default: plugin default lights
        :param groups: Groups to control (names or group objects). Default: plugin default groups
        :param value: Brightness value (range: 0-255)
        """

        if groups is None:
            groups = []
        if lights is None:
            lights = []
        return self._exec('bri', int(value) % (self.MAX_BRI + 1),
                          lights=lights, groups=groups, **kwargs)

        Set lights/groups brightness.

        :param lights: Lights to control (names or light objects). Default: plugin default lights
        :param groups: Groups to control (names or group objects). Default: plugin default groups
        :param value: Brightness value (range: 0-255)
        
Set lights/groups brightness.
Set lights / groups brightness .
def bri(self, value, lights=None, groups=None, **kwargs):
        if groups is None:
            groups = []
        if lights is None:
            lights = []
        return self._exec('bri', int(value) % (self.MAX_BRI + 1),
                          lights=lights, groups=groups, **kwargs)
def bri ( self , value , lights = None , groups = None , ** kwargs ) : if groups is None : groups = [ ] if lights is None : lights = [ ] return self . _exec ( 'bri' , int ( value ) % ( self . MAX_BRI + 1 ) , lights = lights , groups = groups , ** kwargs )
Set lights/groups brightness.
Set lights / groups brightness .
"""
        Set lights/groups brightness.

        :param lights: Lights to control (names or light objects). Default: plugin default lights
        :param groups: Groups to control (names or group objects). Default: plugin default groups
        :param value: Brightness value (range: 0-255)
        """
self
value
Brightness value (range: 0-255)
Brightness value ( range : 0 - 255 )
lights
Lights to control (names or light objects). Default: plugin default lights
Lights to control ( names or light objects ) . Default : plugin default lights
groups
Groups to control (names or group objects). Default: plugin default groups
Groups to control ( names or group objects ) . Default : plugin default groups