1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-14 23:18:21 +00:00

Fix double action handler area card (#29217)

This commit is contained in:
Bram Kragten
2026-01-28 06:37:48 +01:00
committed by GitHub
parent 3e350b7642
commit ed618124dc
2 changed files with 4 additions and 2 deletions

View File

@@ -670,7 +670,6 @@ export class HuiAreaCard extends LitElement implements LovelaceCard {
.featurePosition=${featurePosition}
.vertical=${Boolean(this._config.vertical)}
.interactive=${Boolean(this._hasCardAction)}
.actionHandler=${actionHandler()}
@action=${this._handleAction}
>
<ha-tile-icon

View File

@@ -53,7 +53,10 @@ const computeAreaCard = (
area: areaId,
display_type: "compact",
sensor_classes: sensorClasses,
navigation_path: path,
tap_action: {
action: "navigate",
navigation_path: path,
},
vertical: true,
grid_options: {
rows: 2,