Fix item path for default in choose automation action (#19602)

This commit is contained in:
Paul Bottein 2024-02-01 14:05:01 +01:00 committed by GitHub
parent 8a410d6c82
commit cf960be07e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ export class HaChooseAction extends LitElement implements ActionElement {
)}:
</h2>
<ha-automation-action
.path=${[...(this.path ?? []), "choose", "default"]}
.path=${[...(this.path ?? []), "default"]}
.actions=${ensureArray(action.default) || []}
.disabled=${this.disabled}
@value-changed=${this._defaultChanged}