diff --git a/src/dialogs/quick-bar/ha-quick-bar.ts b/src/dialogs/quick-bar/ha-quick-bar.ts
index 337855d71b..3a7b3aaa96 100644
--- a/src/dialogs/quick-bar/ha-quick-bar.ts
+++ b/src/dialogs/quick-bar/ha-quick-bar.ts
@@ -86,11 +86,11 @@ export class QuickBar extends LitElement {
@state() private _search = "";
- @state() private _opened = false;
+ @state() private _open = false;
@state() private _commandMode = false;
- @state() private _done = false;
+ @state() private _opened = false;
@state() private _narrow = false;
@@ -109,12 +109,12 @@ export class QuickBar extends LitElement {
"all and (max-width: 450px), all and (max-height: 500px)"
).matches;
this._initializeItemsIfNeeded();
- this._opened = true;
+ this._open = true;
}
public closeDialog() {
+ this._open = false;
this._opened = false;
- this._done = false;
this._focusSet = false;
this._filter = "";
this._search = "";
@@ -133,7 +133,7 @@ export class QuickBar extends LitElement {
);
protected render() {
- if (!this._opened) {
+ if (!this._open) {
return html``;
}
@@ -218,24 +218,26 @@ export class QuickBar extends LitElement {
`
: html`