Fix navigation after ZHA device removal (#6638)

This commit is contained in:
David F. Mulcahey 2020-08-17 08:17:18 -04:00 committed by GitHub
parent bce8539572
commit 6c918e346b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[] {