(self)
Devuelve el brillo de la pantalla.
Devuelve el brillo de la pantalla.
Devuelve el brillo de la pantalla .
def get_brightness(self):
        """Devuelve el brillo de la pantalla."""
        brightness = self.rampa.get_brightness()
        if brightness is not None:
            self.brightness_level = int(brightness)
            self.send_command("mostrar_brillo",
                            {'brillo': self.brightness_level})
def get_brightness ( self ) : brightness = self . rampa . get_brightness ( ) if brightness is not None : self . brightness_level = int ( brightness ) self . send_command ( "mostrar_brillo" , { 'brillo' : self . brightness_level } )