Skip to content

Problem integrating UPB with HA #149520

@CharlesL-Git

Description

@CharlesL-Git

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

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

1021.upe.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions