core: Gardene Bluetooth Intgration - Setup doesn't work
The problem
The Integration find itself the “Water Control Bluetooth” equipment. But it always ends with an error : No devices or entities found
What version of Home Assistant Core has the issue?
core-2024.6.0
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
Gardena Bluetooth
Link to integration documentation on our website
https://www.home-assistant.io/integrations/gardena_bluetooth
Diagnostics information
home-assistant_gardena_bluetooth_2024-06-06T10-04-28.477Z.log home-assistant_gardena_bluetooth_2024-06-06T10-04-28.477Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.config_entries
Bron: config_entries.py:594
Eerst voorgekomen: 11:57:01 (1 gebeurtenissen)
Laatst gelogd: 11:57:01
Error setting up entry Gardena Water Computer for gardena_bluetooth
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/gardena_bluetooth/__init__.py", line 55, in async_setup_entry
sw_version = await client.read_char(DeviceInformation.firmware_version, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gardena_bluetooth/client.py", line 180, in read_char
return char.decode(await self.read_char_raw(char.uuid))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gardena_bluetooth/parse.py", line 82, in decode
return data.decode("ASCII")
^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 3: ordinal not in range(128)
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 42 (18 by maintainers)
Today it worked suddenly!