Skip to content

Commit e1a3e57

Browse files
committed
v0.3.2 - autoread training status
1 parent 7c3c8cf commit e1a3e57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyftms/client/backends/controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ async def subscribe(self, cli: BleakClient) -> None:
106106
return
107107

108108
if c := cli.services.get_characteristic(TRAINING_STATUS_UUID):
109+
self._on_training_status(c, await cli.read_gatt_char(c))
109110
await cli.start_notify(c, self._on_training_status)
110111

111112
if c := cli.services.get_characteristic(FITNESS_MACHINE_STATUS_UUID):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyftms"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "PyFTMS - Python Fitness Machine Service client library."
55
authors = ["Sergey V. DUDANOV <sergey.dudanov@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)