docs: def set_motion_detection1(self, enabled=1):
          '''
          Get the current config and set the motion detection on or off
          '''
          result, current_config = self.get_motion_detect_config1()
          if result != FOSCAM_SUCCESS:
              return result
          current_config['isEnable'] = enabled
          self.set_motion_detect_config1(current_config)