Skip to content

Detected that custom integration 'myenergi' calls device_registry.async_get_or_create referencing a non existing via_device #613

@jamespreedy

Description

@jamespreedy

Version of the custom_component

Version 0.0.29

Configuration

n/a

Add your logs here.

Describe the bug

Since 2025.1 I'm getting warnings in the HASS logs showing the below.
It asks that I create a bug report here for the custom component author and that this will stop working in HASS 2025.12

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 2:30:33 am (6 occurrences)
Last logged: 2:30:39 am

Detected that custom integration 'myenergi' calls `device_registry.async_get_or_create` referencing a non existing `via_device` 23696848, with device info: {'identifiers': {('myenergi', 23696848)}, 'manufacturer': 'myenergi', 'model': 'Eddi', 'name': 'Eddi', 'sw_version': '3202S5.435', 'via_device': '23696848'} at custom_components/myenergi/sensor.py, line 689: async_add_devices(sensors). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/cjne/ha-myenergi/issues

Detected that custom integration 'myenergi' calls `device_registry.async_get_or_create` referencing a non existing `via_device` 23696848, with device info: {'identifiers': {('myenergi', 23696848)}, 'manufacturer': 'myenergi', 'model': 'Eddi', 'name': 'Eddi', 'sw_version': '3202S5.435', 'via_device': '23696848'} at custom_components/myenergi/binary_sensor.py, line 62: async_add_devices(sensors). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/cjne/ha-myenergi/issues

Detected that custom integration 'myenergi' calls `device_registry.async_get_or_create` referencing a non existing `via_device` 23696848, with device info: {'identifiers': {('myenergi', 23696848)}, 'manufacturer': 'myenergi', 'model': 'Eddi', 'name': 'Eddi', 'sw_version': '3202S5.435', 'via_device': '23696848'} at custom_components/myenergi/select.py, line 95: async_add_devices(devices). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/cjne/ha-myenergi/issues

Detected that custom integration 'myenergi' calls `device_registry.async_get_or_create` referencing a non existing `via_device` 23696848, with device info: {'identifiers': {('myenergi', 23696848)}, 'manufacturer': 'myenergi', 'model': 'Eddi', 'name': 'Eddi', 'sw_version': '3202S5.435', 'via_device': '23696848'} at custom_components/myenergi/number.py, line 28: async_add_devices(devices). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/cjne/ha-myenergi/issues

Debug log


I believe the above should be sufficient, but if you would like me to submit debug logs post reboot, please let me know.
Thanks in advance for your help and support of this great integration!

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