(self, basestation, mode="rainbow")
return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+basestation.get('deviceId'),"publishResponse":True,"properties":{"nightLight":{"mode":mode}}})
mode: rainbow or rgb.
mode: rainbow or rgb.
mode : rainbow or rgb .
def SetNightLightMode(self, basestation, mode="rainbow"):
        """ mode: rainbow or rgb. """
        return self.NotifyAndGetResponse(basestation, {"action":"set","resource":"cameras/"+basestation.get('deviceId'),"publishResponse":True,"properties":{"nightLight":{"mode":mode}}})
def SetNightLightMode ( self , basestation , mode = "rainbow" ) : return self . NotifyAndGetResponse ( basestation , { "action" : "set" , "resource" : "cameras/" + basestation . get ( 'deviceId' ) , "publishResponse" : True , "properties" : { "nightLight" : { "mode" : mode } } } )