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

Depreciation warnings device_registry.async_get_or_create #419

Open
1 task done
Pastaloverzzz opened this issue Dec 24, 2024 · 0 comments
Open
1 task done

Depreciation warnings device_registry.async_get_or_create #419

Pastaloverzzz opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Pastaloverzzz
Copy link

Checklist

Describe the issue you are experiencing

Hi, i did a update to the beta-release today to Core 2025.1.0b1 and get the following depreciation warning:

Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://192.168.178.60:8006/#v1:0:=node/Proxmox', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'number_NODE_Proxmox')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz', 'name': 'Node Proxmox', 'serial_number': None, 'sw_version': 'Proxmox 8.3.2', 'via_device': ('', '')} at custom_components/proxmoxve/__init__.py, line 714: return device_registry.async_get_or_create(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://192.168.178.60:8006/#v1:0:=node/Proxmox', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'number_NODE_Proxmox')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz', 'name': 'Node Proxmox', 'serial_number': None, 'sw_version': 'Proxmox 8.3.2', 'via_device': ('', '')} at custom_components/proxmoxve/binary_sensor.py, line 106: async_add_entities(await async_setup_binary_sensors_nodes(hass, config_entry)). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://192.168.178.60:8006/#v1:0:=node/Proxmox', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'number_NODE_Proxmox')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz', 'name': 'Node Proxmox', 'serial_number': None, 'sw_version': 'Proxmox 8.3.2', 'via_device': ('', '')} at custom_components/proxmoxve/button.py, line 243: async_add_entities(buttons). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues
Detected that custom integration 'proxmoxve' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('', ''), with device info: {'configuration_url': 'https://192.168.178.60:8006/#v1:0:=node/Proxmox', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'hw_version': None, 'identifiers': {('proxmoxve', 'number_NODE_Proxmox')}, 'manufacturer': 'Proxmox VE', 'model': 'Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz', 'name': 'Node Proxmox', 'serial_number': None, 'sw_version': 'Proxmox 8.3.2', 'via_device': ('', '')} at custom_components/proxmoxve/sensor.py, line 493: async_add_entities(await async_setup_sensors_nodes(hass, config_entry)). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/dougiteixeira/proxmoxve/issues

In which version of Home Assistant Core do you have the problem?

2025.1.0b1

What version of Proxmox VE Custom Integration has the issue?

3.5.2

What version of Proxmox VE do you have the problem?

3.5.2

Logs file

/

Diagnostics file

/

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant