Skip to content

Commit

Permalink
fix: improve default reactivity for card action (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Apr 30, 2022
1 parent 5f6579a commit 8c42308
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ export class AlarmControlPanelCard extends MushroomBaseElement implements Lovela
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
this.loadComponents();
Expand Down
3 changes: 0 additions & 3 deletions src/cards/chips-card/chips/light-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ export class LightChip extends LitElement implements LovelaceChip {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/chips-card/chips/template-chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ export class TemplateChip extends LitElement implements LovelaceChip {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/cover-card/cover-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ export class CoverCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
const controls: CoverCardControl[] = [];
Expand Down
3 changes: 0 additions & 3 deletions src/cards/entity-card/entity-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ export class EntityCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/fan-card/fan-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ export class FanCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
this.updatePercentage();
Expand Down
3 changes: 0 additions & 3 deletions src/cards/light-card/light-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ export class LightCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
this.updateControls();
Expand Down
3 changes: 0 additions & 3 deletions src/cards/lock-card/lock-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ export class LockCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/media-player-card/media-player-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ export class MediaPlayerCard extends MushroomBaseElement implements LovelaceCard
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
this.updateControls();
Expand Down
3 changes: 0 additions & 3 deletions src/cards/person-card/person-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ export class PersonCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/template-card/template-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ export class TemplateCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/update-card/update-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ export class UpdateCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down
3 changes: 0 additions & 3 deletions src/cards/vacuum-card/vacuum-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ export class VacuumCard extends MushroomBaseElement implements LovelaceCard {
hold_action: {
action: "more-info",
},
double_tap_action: {
action: "more-info",
},
...config,
};
}
Expand Down

0 comments on commit 8c42308

Please sign in to comment.