Skip to content

Commit

Permalink
correct unit_of_measurement for individual devices
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix committed Mar 27, 2023
1 parent 8614601 commit 42e609d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/power-flow-card-plus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class PowerFlowCard extends LitElement {
: round(value, this._config!.w_decimals),
this.hass.locale
);
return `${v} ${unit || (isKW ? "kW" : "W")}`;
return `${v}${unit || (isKW ? "kW" : "W")}`;
};

private openDetails(entityId?: string | undefined): void {
Expand Down Expand Up @@ -1697,8 +1697,8 @@ export class PowerFlowCard extends LitElement {
}
span.secondary-info {
color: var(--secondary-text-color);
font-size: 10px;
color: var(--primary-text-color);
font-size: 12px;
}
.individual2 path,
Expand Down

0 comments on commit 42e609d

Please sign in to comment.