platypush/plugins/light/hue/__init__.py
def scene(self, name, lights=None, groups=None, **kwargs):
        """
        Set a scene by name.

        :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 name: Name of the scene
        """

        if groups is None:
            groups = []
        if lights is None:
            lights = []
        return self._exec('scene', name=name, lights=lights, groups=groups, **kwargs)

        Set a scene by name.

        :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 name: Name of the scene
        
Set a scene by name.
Set a scene by name .
def scene(self, name, lights=None, groups=None, **kwargs):
        if groups is None:
            groups = []
        if lights is None:
            lights = []
        return self._exec('scene', name=name, lights=lights, groups=groups, **kwargs)
def scene ( self , name , lights = None , groups = None , ** kwargs ) : if groups is None : groups = [ ] if lights is None : lights = [ ] return self . _exec ( 'scene' , name = name , lights = lights , groups = groups , ** kwargs )
Set a scene by name.
Set a scene by name .
"""
        Set a scene by name.

        :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 name: Name of the scene
        """
self
name
Name of the scene
Name of the scene
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