def _set_default_quality(subcategory_id: int) -> int:
    """Set the default quality for mechanical relays.

    :param subcategory_id: the subcategory ID of the relay with missing defaults.
    :return: _quality_id
    :rtype: float
    """
    return 5 if subcategory_id == 4 else 1