def _set_default_load_type(technology_id: int, type_id: int) -> int:
    """Set the default max rated temperature for mechanical relays.

    :param technology_id: the current technology ID (represents the load type).
    :param type_id: the type ID of the relay with missing defaults.
    :return: _contact_form_id
    :rtype: int
    """
    if technology_id > 0:
        return technology_id
    return 1 if type_id in {1, 3, 4, 6} else 2