def format_ruckus_value(value, force_str=False):
    """Format a string value into None, int, or bool if possible."""
    value = value.strip()

    if not value:
        return None

    if not force_str:
        if value.isnumeric():
            return int(value)

        if value in ["true", "Enabled", "Yes"]:
            return True
        if value in ["false", "Disabled", "No"]:
            return False

    return value