Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve default responsiveness for actions #422

Merged
merged 1 commit into from
Apr 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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