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

device_registry.async_get_or_create deprecation #549

Open
ic-dev21 opened this issue Jan 24, 2025 · 0 comments
Open

device_registry.async_get_or_create deprecation #549

ic-dev21 opened this issue Jan 24, 2025 · 0 comments

Comments

@ic-dev21
Copy link
Collaborator

Version of the custom_component

2025.1.1

Describe the bug

Warning dans les logs pour version future.

Debug log


Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 1:44:11 PM (2 occurrences)
Last logged: 1:44:11 PM

Detected that custom integration 'hilo' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hilo', None), with device info: {'connections': {('mac', 'c0:61:9a:40:4f:b7')}, 'identifiers': {('hilo', 'AC000W021641401')}, 'manufacturer': 'Hilo', 'model': 'EQ000017', 'name': 'Hilo Gateway', 'sw_version': '9.3.0', 'via_device': ('hilo', None)} at custom_components/hilo/sensor.py, line 186: async_add_entities(new_entities). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dvd-dev/hilo/issues
Detected that custom integration 'hilo' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hilo', None), with device info: {'connections': {('mac', 'c0:61:9a:40:4f:b7')}, 'identifiers': {('hilo', 'AC000W021641401')}, 'manufacturer': 'Hilo', 'model': 'EQ000017', 'name': 'Hilo Gateway', 'sw_version': '9.3.0', 'via_device': ('hilo', None)} at custom_components/hilo/sensor.py, line 200: async_add_entities(cost_entities). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dvd-dev/hilo/issues


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

No branches or pull requests

1 participant