Skip to content

Commit

Permalink
Merge pull request #62 from corvus2606/main
Browse files Browse the repository at this point in the history
Fix: LimitMedMult + LimitHighMult is not defined
  • Loading branch information
lozzd authored Jan 26, 2024
2 parents cc4eabf + 8396ece commit d3acae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octopus-energy-rates-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ class OctopusEnergyRatesCard extends HTMLElement {

if(!(limitEntity == null)){
const limitAve = parseFloat(limitEntityState.state);
mediumlimit = limitAve * LimitMedMult;
highlimit = limitAve * LimitHighMult;
mediumlimit = limitAve * limitMedMult;
highlimit = limitAve * limitHighMult;
};

// Combine the data sources
Expand Down

0 comments on commit d3acae0

Please sign in to comment.