(self, basestation, camera, active=True)
return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+camera.get('deviceId'),"publishResponse":True,"properties":{"privacyActive":active}})
active: True - Camera is off.
        active: False - Camera is on.
active: True - Camera is off.
        active: False - Camera is on.
active : True - Camera is off . active : False - Camera is on .
def ToggleCamera(self, basestation, camera, active=True):
        """
        active: True - Camera is off.
        active: False - Camera is on.
        """
        return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+camera.get('deviceId'),"publishResponse":True,"properties":{"privacyActive":active}})
def ToggleCamera ( self , basestation , camera , active = True ) : return self . NotifyAndGetResponse ( basestation , { "action" : "set" , "resource" : "cameras/" + camera . get ( 'deviceId' ) , "publishResponse" : True , "properties" : { "privacyActive" : active } } )