Skip to content

WeBack integration not work in homeassistant #43

@igrek-g

Description

@igrek-g

Device brand

Abir

Device model

X8

Smartphone application

WeBack

Component version

1.0.11 (latest)

HA core version

2025.9.1 (HAOS 16.2)

Describe the problem

To add weback integration, it gives an error:
"Unable to configure the following integrations and platforms:
weback_vacuum (Show logs)"

See the configuration.yaml:
weback_vacuum:
username: [email protected]
password: mypassword
region: 86

Home Assistant Logs

Error during setup of component weback_vacuum: Invalid type for url. Expected str or httpx.URL, got <class 'NoneType'>: None
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 425, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/weback_vacuum/init.py", line 100, in async_setup
await vacuum_device.load_maps()
File "/config/custom_components/weback_vacuum/vacdevice.py", line 81, in load_maps
map_data = await self.get_reuse_map_by_id(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/config/custom_components/weback_vacuum/webackapi.py", line 194, in get_reuse_map_by_id
resp = await self.send_http(self.api_url, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/weback_vacuum/webackapi.py", line 223, in send_http
req = await client.post(url, **params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/httpx/_client.py", line 1859, in post
return await self.request(
^^^^^^^^^^^^^^^^^^^
...<13 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/httpx/_client.py", line 1527, in request
request = self.build_request(
method=method,
...<9 lines>...
extensions=extensions,
)
File "/usr/local/lib/python3.13/site-packages/httpx/_client.py", line 366, in build_request
url = self._merge_url(url)
File "/usr/local/lib/python3.13/site-packages/httpx/_client.py", line 396, in _merge_url
merge_url = URL(url)
File "/usr/local/lib/python3.13/site-packages/httpx/_urls.py", line 121, in init
raise TypeError(
...<2 lines>...
)
TypeError: Invalid type for url. Expected str or httpx.URL, got <class 'NoneType'>: None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions