You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError: 'CrossTrainer' object has no attribute '_m_features' #51
I'm using this library on a HomeAssistant Custom Component. It correctly detects my elliptical bike (BHTFT-0596) but after a while it times out showing next exception in the logs.
2025-10-12 16:18:44.521 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 535, in call_configure
await self._async_configure(flow.flow_id)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 393, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
flow, cur_step["step_id"], user_input
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 497, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ftms/config_flow.py", line 244, in async_step_ble_request
else self._ftms.supported_properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/functools.py", line 1026, in __get__
val = self.func(instance)
File "/usr/local/lib/python3.13/site-packages/pyftms/client/client.py", line 201, in supported_properties
x = self._get_supported_properties(self._m_features)
^^^^^^^^^^^^^^^^
AttributeError: 'CrossTrainer' object has no attribute '_m_features'
Please let me know if I can provide more details or how to increase debug level if needed.
Thanks for create this library, it is very useful.
Activity
chkuendig commentedon Jan 29, 2026
I had the same issue with my Sole F65, this might be causes by the missing service data.
You could try out if #54 also fixes your issue.