Clear Area picker when "Add new area" was canceled (#19088)

This commit is contained in:
Matthias Alphart 2023-12-20 22:17:31 +01:00 committed by GitHub
parent af9b64c6f0
commit 58eebf2dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,6 +446,7 @@ export class HaAreaPicker extends LitElement {
cancel: () => {
this._setValue(undefined);
this._suggestion = undefined;
this.comboBox.setInputValue("");
},
});
}