if v is not None:
sledrun_json['walkup_time'] = v
+ def _walkup_support():
+ walkup_support_rbb = rbb['Aufstiegshilfe']
+ if walkup_support_rbb is not None:
+ walkup_supports = []
+ for walkup_support_type, comment in walkup_support_rbb:
+ walkup_support = {'type': walkup_support_type}
+ if comment is not None:
+ walkup_support['comment']: comment
+ walkup_supports.append(walkup_support)
+ sledrun_json['walkup_supports'] = walkup_supports
+ _walkup_support()
+
v, w = rbb['Beleuchtungsanlage']
if v is not None:
sledrun_json['nightlight_possible'] = tristate_german_to_str(v)