Skip to content

Error when trying to connect device #52

Description

@Swamp-Ig

Ha hangs when in "closing connection and saving" phase.

Stack trace:

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:238
First occurred: 12 November 2025 at 07:18:43 (2 occurrences)
Last logged: 06:18:43

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/pyftms/client/client.py", line 158, in connect
    await self._connect()
  File "/usr/local/lib/python3.13/site-packages/pyftms/client/client.py", line 255, in _connect
    self._device_info = await read_device_info(self._cli)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/pyftms/client/properties/device_info.py", line 45, in read_device_info
    if srv := cli.services.get_service(DIS_UUID):
              ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/bleak/backends/service.py", line 155, in get_service
    raise BleakError(
        "Multiple Services with this UUID, refer to your desired service by the `handle` attribute instead."
    )
bleak.exc.BleakError: Multiple Services with this UUID, refer to your desired service by the `handle` attribute instead.

I'll have a look at it on the weekend and see if I can do a PR to fix it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions