Skip to content

Fix Vlan model to use parent field matching Supervisor API#284

Merged
agners merged 1 commit into
mainfrom
fix-vlan-model
Mar 16, 2026
Merged

Fix Vlan model to use parent field matching Supervisor API#284
agners merged 1 commit into
mainfrom
fix-vlan-model

Conversation

@agners

@agners agners commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

Proposed Changes

The Supervisor API has returned "parent" (not "interface") in the vlan object since vlan support was added in Dec 2020. Rename the field to match the actual API response and prevent mashumaro deserialization failures on systems with VLAN interfaces configured.

This came up in the Core PR to make use of aiohasupervisor: home-assistant/core#164413 (review)

The Supervisor API has returned "parent" (not "interface") in the vlan
object since vlan support was added in Dec 2020. Rename the field to
match the actual API response and prevent mashumaro deserialization
failures on systems with VLAN interfaces configured.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@agners agners added the bugfix Inconsistencies or issues which will cause a problem for users or implementers. label Mar 16, 2026

@sairon sairon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agners agners merged commit ed6132e into main Mar 16, 2026
13 checks passed
@mdegat01 mdegat01 deleted the fix-vlan-model branch March 16, 2026 19:30
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Inconsistencies or issues which will cause a problem for users or implementers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants