(self, basestation, camera, brightness=0)
return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+camera.get('deviceId'),"publishResponse":True,"properties":{"brightness":brightness}})
NOTE: Brightness is between -2 and 2 in increments of 1 (-2, -1, 0, 1, 2).
        Setting it to an invalid value has no effect.

        Returns:
        {
          "action": "is",
          "from": "XXXXXXXXXXXXX",
          "properties": {
              "brightness": -2
          },
          "resource": "cameras/XXXXXXXXXXXXX",
          "to": "336-XXXXXXX_web",
          "transId": "web!XXXXXXXX.389518!1514956240683"
        }
NOTE: Brightness is between -2 and 2 in increments of 1 (-2, -1, 0, 1, 2).
        Setting it to an invalid value has no effect.
NOTE : Brightness is between - 2 and 2 in increments of 1 ( - 2 - 1 0 1 2 ) . Setting it to an invalid value has no effect .
def AdjustBrightness(self, basestation, camera, brightness=0):
        """
        NOTE: Brightness is between -2 and 2 in increments of 1 (-2, -1, 0, 1, 2).
        Setting it to an invalid value has no effect.

        Returns:
        {
          "action": "is",
          "from": "XXXXXXXXXXXXX",
          "properties": {
              "brightness": -2
          },
          "resource": "cameras/XXXXXXXXXXXXX",
          "to": "336-XXXXXXX_web",
          "transId": "web!XXXXXXXX.389518!1514956240683"
        }
        """
        return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+camera.get('deviceId'),"publishResponse":True,"properties":{"brightness":brightness}})
def AdjustBrightness ( self , basestation , camera , brightness = 0 ) : return self . NotifyAndGetResponse ( basestation , { "action" : "set" , "resource" : "cameras/" + camera . get ( 'deviceId' ) , "publishResponse" : True , "properties" : { "brightness" : brightness } } )