Skip to content

Commit

Permalink
fix buttons not working
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywillans committed May 7, 2024
1 parent ac3915a commit 94f68a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/roomba-vacuum-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
: null;
} else if (key != "blank") {
return this.state.buttons[key]
? html`<div class="button" @tap="${() => this.callService(key)}"><ha-icon icon="${this.getButton(key,"icon")}"></ha-icon> ${this.getButton(key,"label")}</div>`
? html`<div class="button" @click="${() => this.callService(key)}"><ha-icon icon="${this.getButton(key,"icon")}"></ha-icon> ${this.getButton(key,"label")}</div>`
: null;
} else {
return this.state.buttons[key]
Expand Down

0 comments on commit 94f68a9

Please sign in to comment.