diff --git a/src/panels/lovelace/cards/energy/hui-energy-sources-table-card.ts b/src/panels/lovelace/cards/energy/hui-energy-sources-table-card.ts index 1cf7f1887f..4b8681bd0e 100644 --- a/src/panels/lovelace/cards/energy/hui-energy-sources-table-card.ts +++ b/src/panels/lovelace/cards/energy/hui-energy-sources-table-card.ts @@ -851,7 +851,10 @@ export class HuiEnergySourcesTableCard )} ${compare - ? html`` + : ""} + ${formatNumber( @@ -862,10 +865,7 @@ export class HuiEnergySourcesTableCard currency: this.hass.config.currency!, } )} - - ${showCosts - ? html`` - : ""}` + ` : ""}