opt_phone_comment_enum_to_str, lift_german_from_str, GASTHAUSBOX_DICT, opt_difficulty_german_from_str, \
opt_avalanches_german_from_str, opt_public_transport_german_from_str, \
opt_tristate_german_comment_from_str, rodelbahnbox_to_str, lonlat_to_str, opt_no_or_str_to_str, \
- opt_no_or_str_from_str, opt_tristate_german_from_str
+ opt_no_or_str_from_str, opt_tristate_german_from_str, tristate_german_from_str
def split_lon_lat(value: Optional[LonLat]) -> Union[LonLat, Tuple[None, None]]:
('Betreiber', (sledrun_json.get('has_operator', True if 'operator' in sledrun_json else None), sledrun_json.get('operator'))),
('Öffentliche Anreise', opt_public_transport_german_from_str(sledrun_json.get('public_transport', ''))),
('Aufstieg möglich', sledrun_json.get('walkup_possible')),
- ('Aufstieg getrennt', opt_tristate_german_comment_from_str(sledrun_json.get('walkup_separate', ''))),
+ ('Aufstieg getrennt', (
+ tristate_german_from_str(sledrun_json['walkup_separate']) if 'walkup_separate' in sledrun_json else None,
+ sledrun_json.get('walkup_note'))),
('Gehzeit', sledrun_json.get('walkup_time')),
('Aufstiegshilfe', aufstiegshilfe()),
('Beleuchtungsanlage', (opt_tristate_german_from_str(sledrun_json.get('nightlight_possible', '')),