diff --git a/src/panels/config/devices/device-detail/integration-elements/zha/ha-device-actions-zha.ts b/src/panels/config/devices/device-detail/integration-elements/zha/ha-device-actions-zha.ts index d5d98dc68d..d6629b58c5 100644 --- a/src/panels/config/devices/device-detail/integration-elements/zha/ha-device-actions-zha.ts +++ b/src/panels/config/devices/device-detail/integration-elements/zha/ha-device-actions-zha.ts @@ -119,9 +119,11 @@ export class HaDeviceActionsZha extends LitElement { return; } - this.hass.callService("zha", "remove", { + await this.hass.callService("zha", "remove", { ieee_address: this._zhaDevice!.ieee, }); + + history.back(); } static get styles(): CSSResult[] {