Skip to content

Deprecation warning: Invalid via_device=None in device_registry.async_get_or_create (will break in 2025.12) #525

Description

@flown-the-coop

Your exact log entries (copy-paste them).

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:350
First occurred: 3:08:14 PM (4 occurrences)
Last logged: 3:08:14 PMDetected that custom integration 'alarmdotcom' calls device_registry.async_get_or_create referencing a non existing via_device ('alarmdotcom', None), with device info: {'identifiers': {('alarmdotcom', '102898116-127')}, 'manufacturer': 'Alarm.com', 'name': 'Panel', 'via_device': ('alarmdotcom', None)} at custom_components/alarmdotcom/alarm_control_panel.py, line 50: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/pyalarmdotcom/alarmdotcom/issues
Detected that custom integration 'alarmdotcom' calls device_registry.async_get_or_create referencing a non existing via_device ('alarmdotcom', None), with device info: {'identifiers': {('alarmdotcom', '102898116-127')}, 'manufacturer': 'Alarm.com', 'name': 'Panel', 'via_device': ('alarmdotcom', None)} at custom_components/alarmdotcom/binary_sensor.py, line 92: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/pyalarmdotcom/alarmdotcom/issues
Detected that custom integration 'alarmdotcom' calls device_registry.async_get_or_create referencing a non existing via_device ('alarmdotcom', None), with device info: {'identifiers': {('alarmdotcom', '102898116-1200')}, 'manufacturer': 'Alarm.com', 'name': 'Side Door Lock', 'via_device': ('alarmdotcom', None)} at custom_components/alarmdotcom/lock.py, line 60: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/pyalarmdotcom/alarmdotcom/issues
Detected that custom integration 'alarmdotcom' calls device_registry.async_get_or_create referencing a non existing via_device ('alarmdotcom', None), with device info: {'identifiers': {('alarmdotcom', '102898116-127')}, 'manufacturer': 'Alarm.com', 'name': 'Panel', 'via_device': ('alarmdotcom', None)} at custom_components/alarmdotcom/button.py, line 62: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/pyalarmdotcom/alarmdotcom/issues<

Your Home Assistant core version (check Settings > System > About).

Installation method
Home Assistant OS
Core
2026.3.1
Supervisor
2026.02.3
Operating System
17.1
Frontend
20260304.0<

The version of the Alarm.com integration

v3.0.15<

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions