Skip to content

Commit

Permalink
v0.3.2 - autoread training status
Browse files Browse the repository at this point in the history
  • Loading branch information
dudanov committed Oct 26, 2024
1 parent 7c3c8cf commit e1a3e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyftms/client/backends/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ async def subscribe(self, cli: BleakClient) -> None:
return

if c := cli.services.get_characteristic(TRAINING_STATUS_UUID):
self._on_training_status(c, await cli.read_gatt_char(c))
await cli.start_notify(c, self._on_training_status)

if c := cli.services.get_characteristic(FITNESS_MACHINE_STATUS_UUID):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyftms"
version = "0.3.1"
version = "0.3.2"
description = "PyFTMS - Python Fitness Machine Service client library."
authors = ["Sergey V. DUDANOV <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit e1a3e57

Please sign in to comment.