Skip to content

Commit

Permalink
Stupid typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Olen committed Jul 19, 2024
1 parent 0d7e080 commit 7d28814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const renderBattery = (card: FlowerCard) => {
const { icon, color } = levels.find(({ threshold }) => state > threshold) || { icon: "mdi:battery-alert-variant-outline", color: "red" };

return html`
<div class="battery tooltip" @click.capture.stop"${() => moreInfo(card, card.config.battery_sensor)}">
<div class="battery tooltip" @click.capture.stop="${() => moreInfo(card, card.config.battery_sensor)}">
<div class="tip" style="text-align:center;">${state}%</div>
<ha-icon .icon="${icon}" style="color: ${color}"></ha-icon>
</div>
Expand Down

0 comments on commit 7d28814

Please sign in to comment.