mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Fix action handling for buttons row (#5007)
This commit is contained in:
parent
6d145730a5
commit
2298a55b16
@ -73,7 +73,7 @@ export class HuiButtonsBase extends LitElement {
|
|||||||
const config = (ev.currentTarget as any).config as EntitiesCardEntityConfig;
|
const config = (ev.currentTarget as any).config as EntitiesCardEntityConfig;
|
||||||
handleAction(
|
handleAction(
|
||||||
this,
|
this,
|
||||||
this.hass!,
|
this._hass!,
|
||||||
{ tap_action: { action: "toggle" }, ...config },
|
{ tap_action: { action: "toggle" }, ...config },
|
||||||
ev.detail.action!
|
ev.detail.action!
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user