mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +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;
|
||||
handleAction(
|
||||
this,
|
||||
this.hass!,
|
||||
this._hass!,
|
||||
{ tap_action: { action: "toggle" }, ...config },
|
||||
ev.detail.action!
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user