Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanov committed Aug 10, 2024
1 parent 2929bb5 commit 3aaef4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyftms/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_client(
- `adv_or_type` - Service [advertisement data](https://bleak.readthedocs.io/en/latest/backends/index.html#bleak.backends.scanner.AdvertisementData) or `MachineType`.
- `timeout` - Control operation timeout. Defaults to 2.0s.
- `on_ftms_event` - Callback for receiving fitness machine events.
- `on_disconnect` - Disconnetion callback.
- `on_disconnect` - Disconnection callback.
Return:
- `FitnessMachine` instance.
Expand Down Expand Up @@ -89,7 +89,7 @@ async def get_client_from_address(
- `scan_timeout` - Scanning timeout. Defaults to 10.0s.
- `timeout` - Control operation timeout. Defaults to 2.0s.
- `on_ftms_event` - Callback for receiving fitness machine events.
- `on_disconnect` - Disconnetion callback.
- `on_disconnect` - Disconnection callback.
Return:
- `FitnessMachine` instance if device found successfully.
Expand Down

0 comments on commit 3aaef4f

Please sign in to comment.