Skip to content

Commit

Permalink
fix: Icons not working in HA 2021.11
Browse files Browse the repository at this point in the history
Closes #282
  • Loading branch information
regevbr authored Nov 15, 2021
1 parent 9c27446 commit 8acf593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ export default class SimpleThermostat extends LitElement {
icon=${row ? ICONS.PLUS : ICONS.UP}
@click="${() => this.setTemperature(this.stepSize, field)}"
>
<ha-icon .icon=${row ? ICONS.PLUS : ICONS.UP}></ha-icon>
</ha-icon-button>
<h3
Expand All @@ -450,6 +451,7 @@ export default class SimpleThermostat extends LitElement {
icon=${row ? ICONS.MINUS : ICONS.DOWN}
@click="${() => this.setTemperature(-this.stepSize, field)}"
>
<ha-icon .icon=${row ? ICONS.MINUS : ICONS.DOWN}></ha-icon>
</ha-icon-button>
</div>
`
Expand Down

0 comments on commit 8acf593

Please sign in to comment.