core: SwitchBot Curtain cannot be controlled (states are read correctly though)

The problem

I have added one of my SwitchBot Curtains but it cannot be controlled. The current states is refected correctly. It’s just that no commands can be sent to the device. See attached log.

Any suggestions?

What version of Home Assistant Core has the issue?

2022.8.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

SwitchBot

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switchbot/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-08-05 16:12:04.617 ERROR (MainThread) [switchbot] Switchbot communication failed. Stopping trying
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/switchbot/__init__.py", line 360, in _sendcommand
    return await self._send_command_locked(key, command)
  File "/usr/local/lib/python3.10/site-packages/switchbot/__init__.py", line 399, in _send_command_locked
    await client.start_notify(_sb_uuid(comms_type="rx"), _notification_handler)
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 809, in start_notify
    raise BleakError(
bleak.exc.BleakError: Characteristic with UUID [...] could not be found!

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 44 (13 by maintainers)

Commits related to this issue

Most upvoted comments

@MartinHjelmare This issue has not been resolved!

I do not and will not use any third party hubs. SwitBot works fine using the ESP but a direct integration would be so much slicker.