Skip to content

OCPP integration using soon to be deprecated via_device parameter. #2139

Description

@xenoxclusive

I get the following error in my Home Assistant logs upon restart of the OCPP integration:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:348
First occurred: 13:35:12 (1 occurrence)
Last logged: 13:35:12

Detected that custom integration 'ocpp' calls `device_registry.async_get_or_create` with a deprecated `via_device` parameter; use `via_device_id` instead at custom_components/ocpp/__init__.py, line 316: dr.async_get_or_create(. This will stop working in Home Assistant 2027.8.0, please create a bug report at https://github.com/lbbrhzn/ocpp/issues

I am using Home Assistant in a docker container. Home Assistant is version 2026.9.2.

Activity

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

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