Fix when creating new area in picker #11392 (#12457)

This commit is contained in:
Zack Barett 2022-04-26 23:11:38 -05:00 committed by GitHub
parent 5348c54c91
commit 3605f7b70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -409,7 +409,7 @@ export class HaAreaPicker extends SubscribeMixin(LitElement) {
name,
});
this._areas = [...this._areas!, area];
(this.comboBox as any).items = this._getAreas(
(this.comboBox as any).filteredItems = this._getAreas(
this._areas!,
this._devices!,
this._entities!,