diff --git a/src/power-flow-card.ts b/src/power-flow-card.ts index eff63e93..137349b8 100644 --- a/src/power-flow-card.ts +++ b/src/power-flow-card.ts @@ -72,7 +72,7 @@ export class PowerFlowCard extends LitElement { private displayValue = (value: number) => value >= coerceNumber(this._config?.watt_threshold, 0) ? `${roundValue(value / 1000, 1)} kW` - : `${value} W`; + : `${roundValue(value, 1)} W`; protected render(): TemplateResult { if (!this._config || !this.hass) {