diff --git a/examples/fitness_machine_service_example.py b/examples/fitness_machine_service_example.py index 1aac03d..6d39bf3 100644 --- a/examples/fitness_machine_service_example.py +++ b/examples/fitness_machine_service_example.py @@ -95,7 +95,7 @@ def print_control_point_response(message): power_level = 4 / 100 * max_power print(f"Increasing target power to 4 percent of maximum power ({power_level}W).") print("The trainer will automatically adjust resistance based on your leg speed.") - print("Try pedaling above {power_level}W to feel decreasing resistance, and vice versa.") + print(f"Try pedaling above {power_level}W to feel decreasing resistance, and vice versa.") await ftms.set_target_power(power_level) await asyncio.sleep(30) diff --git a/pycycling/fitness_machine_service.py b/pycycling/fitness_machine_service.py index 4e484dd..3c91b3f 100644 --- a/pycycling/fitness_machine_service.py +++ b/pycycling/fitness_machine_service.py @@ -46,7 +46,7 @@ # notify: Indoor Bike Data ftms_indoor_bike_data_characteristic_id = "00002ad2-0000-1000-8000-00805f9b34fb" # notify: Fitness Machine Status -ftms_fitness_machine_status_characteristic_id = "00002ad3-0000-1000-8000-00805f9b34fb" +ftms_fitness_machine_status_characteristic_id = "00002ada-0000-1000-8000-00805f9b34fb" # notify: Training Status ftms_training_status_characteristic_id = "00002ad3-0000-1000-8000-00805f9b34fb" # (write, indicate): Fitness Machine Control Point