Skip to content

Commit

Permalink
Merge pull request #4 from xsirpreisx/main
Browse files Browse the repository at this point in the history
Kind of fixed the "crooked" lines.
  • Loading branch information
flixlix authored Mar 24, 2023
2 parents af8bedf + 6334831 commit c520a4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/power-flow-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,8 @@ export class PowerFlowCard extends LitElement {
d="M${hasBattery ? 55 : 53},0 v${hasGrid
? 15
: 17} c0,${hasBattery
? "35 10,30 30,30"
: "40 10,35 30,35"} h25"
? "30 10,30 30,30"
: "35 10,35 30,35"} h25"
vector-effect="non-scaling-stroke"
></path>
${solarConsumption
Expand Down Expand Up @@ -906,8 +906,8 @@ export class PowerFlowCard extends LitElement {
id="return"
class="return"
d="M${hasBattery ? 45 : 47},0 v15 c0,${hasBattery
? "35 -10,30 -30,30"
: "40 -10,35 -30,35"} h-20"
? "30 -10,30 -30,30"
: "35 -10,35 -30,35"} h-20"
vector-effect="non-scaling-stroke"
></path>
${solarToGrid && hasSolarProduction
Expand Down Expand Up @@ -1025,7 +1025,7 @@ export class PowerFlowCard extends LitElement {
<path
id="battery-home"
class="battery-home"
d="M55,100 v-${hasGrid ? 15 : 17} c0,-35 10,-30 30,-30 h20"
d="M55,100 v-${hasGrid ? 15 : 17} c0,-30 10,-30 30,-30 h20"
vector-effect="non-scaling-stroke"
></path>
${batteryConsumption
Expand Down Expand Up @@ -1066,7 +1066,7 @@ export class PowerFlowCard extends LitElement {
"battery-from-grid": Boolean(batteryFromGrid),
"battery-to-grid": Boolean(batteryToGrid),
})}
d="M45,100 v-15 c0,-35 -10,-30 -30,-30 h-20"
d="M45,100 v-15 c0,-30 -10,-30 -30,-30 h-20"
vector-effect="non-scaling-stroke"
></path>
${batteryFromGrid
Expand Down

0 comments on commit c520a4c

Please sign in to comment.