Skip to content

Commit 83966b2

Browse files
committed
fix: dynamic colour for load5 additional information when applying max threshold closes #663
1 parent 876ea93 commit 83966b2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sunsynk-power-flow-card",
3-
"version": "6.7.1",
3+
"version": "6.7.2",
44
"description": "A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.",
55
"main": "sunsynk-power-flow-card.js",
66
"scripts": {

src/components/compact/load/load-elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export const renderLoadElements = (data: DataDto, config: sunsynkPowerFlowCardCo
370370
147,
371371
!!config.entities?.essential_load5_extra && [5, 6].includes(additionalLoad) && data.stateEssentialLoad5Extra.isValid(),
372372
'st3 right-align',
373-
dynamicColourEssentialLoad1,
373+
dynamicColourEssentialLoad5,
374374
`${data.stateEssentialLoad5Extra.toNum(1)} ${data.stateEssentialLoad5Extra.getUOM()}`,
375375
(e) => Utils.handlePopup(e, config.entities.essential_load5_extra)
376376
)}

0 commit comments

Comments
 (0)