diff --git a/toio/cube/api/configuration.py b/toio/cube/api/configuration.py index aa4a294..401f4a3 100644 --- a/toio/cube/api/configuration.py +++ b/toio/cube/api/configuration.py @@ -758,7 +758,7 @@ async def set_collision_detection_threshold(self, threshold: int) -> None: References: https://toio.github.io/toio-spec/en/docs/ble_configuration#collision-detection-threshold-settings """ - command = SetHorizontalDetectionThreshold(threshold) + command = SetCollisionDetectionThreshold(threshold) await self._write(bytes(command)) async def set_double_tap_detection_threshold(self, threshold: int) -> None: