Skip to content

HACC networkscanner goes to error after starting HA #40

Description

@RichardBeisser

Log:
`Logger: homeassistant.config_entries
Quelle: config_entries.py:762
Erstmals aufgetreten: 12:46:04 (1 Vorkommnis)
Zuletzt protokolliert: 12:46:04
Error setting up entry Network Scanner for sensor

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 100, in async_setup_entry
return await hass.data[DATA_COMPONENT].async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 210, in async_setup_entry
raise ValueError(
...<2 lines>...
)
ValueError: Config entry Network Scanner (01JNYEJ4X7EMQQ6HDRRWSPMA29) for network_scanner.sensor has already been setup!
`

Another Error:
`Logger: homeassistant.config_entries
Source: config_entries.py:762
First occurred: 09:39:27 (2 occurrences)
Last logged: 09:39:27

Setup of config entry 'Network Scanner' for network_scanner integration cancelled
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 100, in async_setup_entry
return await hass.data[DATA_COMPONENT].async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 221, in async_setup_entry
return await self._platforms[key].async_setup_entry(config_entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 426, in async_setup_entry
return await self._async_setup_platform(async_create_setup_awaitable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 467, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 730, in async_add_entities
await self._async_add_and_update_entities(
entities, timeout, config_subentry_id
)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 630, in _async_add_and_update_entities
results = await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
...<10 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 815, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1312, in async_device_update
await self.async_update()
File "/config/custom_components/network_scanner/sensor.py", line 53, in async_update
devices = await self.hass.async_add_executor_job(self.scan_network)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError: Global task timeout: Bootstrap stage 2 timeout

`

Home Assistant OS
Core 2026.1.0
Supervisor 2026.01.0
Operating System 16.3
Frontend 20260107.0 · legacy

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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