Skip to content

[BUG]: no button to reconfigure integration #224

@Stijnele

Description

@Stijnele

Describe the bug.

I changed my e-mail address on the Stromer portal and now the HA integration can't connect anymore. I see no button or so to reconfigure the stromer integration.

What version of Home Assistant Core has the issue?

2025.8.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

How did you install the stromer integration

HACS

Logging

2025-08-20 15:23:06.634 ERROR (MainThread) [custom_components.stromer.stromer] Stromer error: api call failed: 'data'
2025-08-20 15:23:06.752 ERROR (MainThread) [custom_components.stromer.stromer] Stromer error: api call failed: 'data'
2025-08-20 15:23:06.836 ERROR (MainThread) [custom_components.stromer.stromer] Stromer error: api call failed: 'data'
2025-08-20 15:23:06.923 ERROR (MainThread) [custom_components.stromer.stromer] Stromer error: api call failed: 'data'
2025-08-20 15:23:07.019 ERROR (MainThread) [custom_components.stromer.stromer] Stromer error: api call failed: 'data'
2025-08-20 15:23:07.020 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (None)
2025-08-20 15:23:07.021 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector (None)
2025-08-20 15:23:07.918 ERROR (MainThread) [custom_components.stromer.const] Authentication failed while fetching stromer data: Cannot connect to host api3.stromer-portal.chnone:443 ssl:default [DNS server returned answer with no data]
2025-08-20 15:23:07.937 ERROR (Recorder) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 117, in resolve
resp = await self._resolver.getaddrinfo(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
)
^
aiodns.error.DNSError: (1, 'DNS server returned answer with no data')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1532, in _create_direct_connection
hosts = await self._resolve_host(host, port, traces=traces)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1148, in _resolve_host
return await asyncio.shield(resolved_host_task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1179, in _resolve_host_with_throttle
addrs = await self._resolver.resolve(host, port, family=self._family)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 126, in resolve
raise OSError(None, msg) from exc
OSError: [Errno None] DNS server returned answer with no data

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/config/custom_components/stromer/coordinator.py", line 31, in _async_update_data
await self.stromer.stromer_update()
File "/config/custom_components/stromer/stromer.py", line 88, in stromer_update
await self.stromer_connect()
File "/config/custom_components/stromer/stromer.py", line 55, in stromer_connect
await self.stromer_get_code()
File "/config/custom_components/stromer/stromer.py", line 174, in stromer_get_code
res = await self._websession.get(next_url, allow_redirects=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 770, in _request
resp = await handler(req)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 725, in _connect_and_send_request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req, traces=traces, timeout=real_timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 642, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1209, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1538, in _create_direct_connection
raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host api3.stromer-portal.chnone:443 ssl:default [DNS server returned answer with no data]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/stromer/coordinator.py", line 48, in _async_update_data
raise ConfigEntryAuthFailed from err
homeassistant.exceptions.ConfigEntryAuthFailed: Cannot connect to host api3.stromer-portal.chnone:443 ssl:default [DNS server returned answer with no data]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1231, in _async_init_reauth
result = await hass.config_entries.flow.async_init(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1446, in async_init
flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1492, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 483, in _async_handle_step
self._raise_if_step_does_not_exist(flow, step_id)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 576, in _raise_if_step_does_not_exist
raise UnknownStep(
f"Handler {flow.class.name} doesn't support step {step_id}"
)
homeassistant.data_entry_flow.UnknownStep: Handler ConfigFlow doesn't support step reauth

Diagnostics information

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions