Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switchbot Bluetooth not working #93

Open
Kev1n121 opened this issue Sep 17, 2024 · 0 comments
Open

Switchbot Bluetooth not working #93

Kev1n121 opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Kev1n121
Copy link

Kev1n121 commented Sep 17, 2024

2024-09-17 09:10:33.756 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\device.py", line 574, in update
if info := await self.get_basic_info():
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\blind_tilt.py", line 112, in get_basic_info
if not (_data := await self._get_basic_info()):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\device.py", line 546, in _get_basic_info
_data = await self._send_command(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\device.py", line 185, in _send_command
return await self._send_command_locked(key, command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\device.py", line 419, in _send_command_locked
await self._ensure_connected()
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\switchbot\devices\device.py", line 279, in ensure_connected
client: BleakClientWithServiceCache = await establish_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\bleak_retry_connector_init
.py", line 363, in establish_connection
await client.connect(
File "X:\Downloads\HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\habluetooth\wrappers.py", line 278, in connect
self._backend = wrapped_backend.client(
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BleakClientWinRT.init() missing 1 required keyword-only argument: 'winrt'

On the older version It did work. (version HassWP_2023.12.4)

@AlexxIT AlexxIT added the bug Something isn't working label Sep 17, 2024
@AlexxIT AlexxIT self-assigned this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants