mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 21:47:46 +00:00
Fix navigation after ZHA device removal (#6638)
This commit is contained in:
parent
bce8539572
commit
6c918e346b
@ -119,9 +119,11 @@ export class HaDeviceActionsZha extends LitElement {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.hass.callService("zha", "remove", {
|
await this.hass.callService("zha", "remove", {
|
||||||
ieee_address: this._zhaDevice!.ieee,
|
ieee_address: this._zhaDevice!.ieee,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
history.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
static get styles(): CSSResult[] {
|
static get styles(): CSSResult[] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user