Skip to content

Use via_device_id for charger devices, require HA 2026.8 - #447

Open
rhammen wants to merge 2 commits into
custom-components:masterfrom
rhammen:fix/via-device-id
Open

rhammen wants to merge 2 commits into
custom-components:masterfrom
rhammen:fix/via-device-id

Conversation

@rhammen

@rhammen rhammen commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

This PR replaces the deprecated via_device with via_device_id, which removes the deprecation warning logged on every setup since HA 2026.9.

  • Register the installation device before the charger entities, and link chargers to it by device registry id
  • Raise the minimum HA version to 2026.8, where via_device_id was introduced. This also means Python 3.14, so the 3.13 CI leg is dropped

Fix #428

🤖 Generated with Claude Code

rhammen and others added 2 commits October 26, 2026 22:28
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

via_device is deprecated — plan for via_device_id (removed in HA 2027.8)

1 participant