-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Description
The problem
Problem integrating UPB
What version of Home Assistant Core has the issue?
2025.7
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
UPB
Link to integration documentation on our website
No response
Diagnostics information
Enregistreur: homeassistant.components.upb.config_flow
Source: components/upb/config_flow.py:93
intégration: upb (documentation, problèmes)
S'est produit pour la première fois: 09:04:26 (8 occurrences)
Dernier enregistrement: 10:37:53
Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/upb/config_flow.py", line 93, in async_step_user
network_id, info = await _validate_input(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/upb/config_flow.py", line 44, in _validate_input
await upb.load_upstart_file()
File "/usr/local/lib/python3.13/site-packages/upb_lib/upb.py", line 54, in load_upstart_file
self.config_ok = await asyncio.get_running_loop().run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
None, process_upstart_file, self, path
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/upb_lib/parse_upstart.py", line 19, in process_upstart_file
_process_file(pim, file_handle)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/upb_lib/parse_upstart.py", line 29, in _process_file
fields = file.readline().strip().split(",")
~~~~~~~~~~~~~^^
File "", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 88: invalid continuation byte