Skip to content

fix: allow extra keys in model_config schema#160

Merged
pgroene merged 1 commit into
mainfrom
fix/allow-extra-keys-model-config
May 20, 2026
Merged

fix: allow extra keys in model_config schema#160
pgroene merged 1 commit into
mainfrom
fix/allow-extra-keys-model-config

Conversation

@pgroene
Copy link
Copy Markdown
Owner

@pgroene pgroene commented May 20, 2026

In some HA versions the frontend passes previous step data alongside current step submissions. The model_config schema was rejecting the \�i_task_entity_id\ key from step 1 with 'extra keys not allowed'. Added \extra=vol.ALLOW_EXTRA\ to the schema.

In some HA versions, the frontend passes previous step data with
subsequent step submissions. Without extra=ALLOW_EXTRA the model_config
schema raises 'extra keys not allowed @ data[ai_task_entity_id]' when
the entity_id from step 1 is included in the step 2 submission.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pgroene pgroene merged commit 35d10eb into main May 20, 2026
7 of 8 checks passed
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.

1 participant