diff --git a/src/panels/developer-tools/state/developer-tools-state.ts b/src/panels/developer-tools/state/developer-tools-state.ts index a47960a44288..ba32df918f23 100644 --- a/src/panels/developer-tools/state/developer-tools-state.ts +++ b/src/panels/developer-tools/state/developer-tools-state.ts @@ -167,7 +167,7 @@ class HaPanelDevState extends LitElement { )} @@ -349,6 +349,10 @@ class HaPanelDevState extends LitElement { private _entityIdChanged(ev: CustomEvent) { this._entityId = ev.detail.value; + this._updateEntity(); + } + + private _updateEntity() { if (!this._entityId) { this._entity = undefined; this._state = "";