Skip to content

Commit

Permalink
Remove logging clutter to debug option
Browse files Browse the repository at this point in the history
  • Loading branch information
tmjo committed Feb 21, 2023
1 parent d1c143e commit 5fb69b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/charger-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class ChargerCard extends LitElement {
stats = this.getCardData(this.getConfig("details.stats"));
stats = stats !== undefined && stats !== null ? stats[state] || stats['default'] : [];
} else {
console.info("Stats is turned on but no stats given in config.")
this.log("Stats is turned on but no stats given in config.")
stats = {};
}

Expand Down Expand Up @@ -824,7 +824,7 @@ export class ChargerCard extends LitElement {
toolbardata_left = this.getCardData(this.getConfig("details.toolbar_left"));
toolbardata_left = (toolbardata_left !== undefined && toolbardata_left !== null) ? toolbardata_left[state] || toolbardata_left['default'] : [];
} else {
console.info("Toolbar_left is turned on but not given in config.");
this.log("Toolbar_left is turned on but not given in config.");
// toolbardata_left = {};
}

Expand All @@ -833,7 +833,7 @@ export class ChargerCard extends LitElement {
toolbardata_right = this.getCardData(this.getConfig("details.toolbar_right"));
toolbardata_right = (toolbardata_right !== undefined && toolbardata_right !== null) ? toolbardata_right[state] || toolbardata_right['default'] : [];
} else {
console.info("Toolbar_right is turned on but not given in config.");
this.log("Toolbar_right is turned on but not given in config.");
// toolbardata_right = {};
}

Expand Down

0 comments on commit 5fb69b3

Please sign in to comment.