Skip to content

Commit

Permalink
Change icon for bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
bolkedebruin committed Apr 14, 2024
1 parent 12139ac commit 784721a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "erhv-card",
"version": "1.0.12",
"version": "1.0.13",
"description": "A homeassistant heat exchange card - for, for example, the ComfoAir, WHR, Swegon Casa ",
"main": "dist/erhv-card.js",
"source": "src/main.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/erhv-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,10 @@ export class ERHVCard extends LitElement implements LovelaceCard {
}
if (this.hass.states[this._config.bypass_state].state == 'on') {
return html`
<ha-icon icon="mdi:electric-switch-closed"></ha-icon>`;
<ha-icon icon="mdi:valve-open"></ha-icon>`;
} else {
return html`
<ha-icon class="inactive" icon="mdi:electric-switch"></ha-icon>`;
<ha-icon class="inactive" icon="mdi:valve-closed"></ha-icon>`;
}
}

Expand Down

0 comments on commit 784721a

Please sign in to comment.