Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEVOLO] - Error while setting up devolo_home_network platform for sensor: coroutine raised StopIteration #139029

Open
alsmaison opened this issue Feb 22, 2025 · 0 comments

Comments

@alsmaison
Copy link

The problem

I have noticed this new error in the system log with the last update of the core.

What version of Home Assistant Core has the issue?

core-2025.2.5

What was the last working version of Home Assistant Core?

core-2025.2.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Devolo

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Enregistreur: homeassistant.components.sensor
Source: helpers/entity_platform.py:366
intégration: Capteur (documentation, problèmes)
S'est produit pour la première fois: 07:13:05 (1 occurrences)
Dernier enregistrement: 07:13:05

Error while setting up devolo_home_network platform for sensor: coroutine raised StopIteration
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/devolo_home_network/sensor.py", line 147, in async_setup_entry
    DevoloPlcDataRateSensorEntity(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        entry,
        ^^^^^^
    ...<2 lines>...
        peer,
        ^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/components/devolo_home_network/sensor.py", line 241, in __init__
    peer_device = next(
        device
        for device in self.coordinator.data.devices
        if device.mac_address == peer
    )
StopIteration

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

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
    await asyncio.shield(awaitable)
RuntimeError: coroutine raised StopIteration

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant