'Disable motion detection.'

def disable_motion_detection(self):

    (ret, err) = self._foscam_session.disable_motion_detection()
    if (ret == FOSCAM_COMM_ERROR):
        _LOGGER.debug('Unable    to    communicate    with    Foscam    Camera:    %s', err)
        self._motion_status = True
    else:
        self._motion_status = False
