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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user