parse_motor_values
- parse_motor_values(values: list[int]) tuple[int, int, int, int][source]
Unpack a MOTOR*_VALUES setting into (open, close, time_open, time_close).
time_open/time_close are the TOTAL milliseconds to open/close. Legacy settings only store [open, close]; missing times fall back to DEFAULT_MOTOR_TIME so old calibrations keep working.