code: def arm(self, value):
          
          if value:
              return api.request_system_arm(self.blink, self.network_id)
  
          return api.request_system_disarm(self.blink, self.network_id)
docs: Arm or disarm system.