Skip to content

Commit

Permalink
Fix missing arrows issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wrfz committed Oct 30, 2024
1 parent befb05c commit 2e870d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/hpsu-dashboard-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ class HPSUDashboardCard extends HTMLElement {

if (!flowArrows || !flowReturnArrows || !heatingArrows) return;

const flow_rate_id = this.config.entities['flow_rate'];
const mixer_id = this.config.entities['dhw_mixer_position'];
const bypass_id = this.config.entities['bypass_valve'];
const flow_rate_id = this.config.entities['durchfluss'];
const mixer_id = this.config.entities['mischer'];
const bypass_id = this.config.entities['bypass'];

const flowRate = flow_rate_id ? parseFloat(this._hass.states[flow_rate_id].state) : 0;
const mischerState = mixer_id ? parseFloat(this._hass.states[mixer_id].state) : 0;
Expand Down Expand Up @@ -302,5 +302,5 @@ class HPSUDashboardCard extends HTMLElement {
this.dispatchEvent(event);
}
}

customElements.define("hpsu-dashboard-card", HPSUDashboardCard);

0 comments on commit 2e870d3

Please sign in to comment.