Skip to content

Commit

Permalink
fix: add pv[1-4] max power to visual editor
Browse files Browse the repository at this point in the history
  • Loading branch information
slipx06 committed Apr 28, 2024
1 parent 7d80a50 commit 90ebc9f
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sunsynk-power-flow-card",
"version": "4.34.0",
"version": "4.34.1",
"description": "A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.",
"main": "sunsynk-power-flow-card.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ export class SunSynkCardEditor extends ScopedRegistryHost(LitElement) implements
{name: 'dynamic_colour', selector: {boolean: {}}},
{name: 'animation_speed', selector: {number: {}}},
{name: 'max_power', selector: {number: {}}},
{name: 'pv1_max_power', selector: {number: {}}},
{name: 'pv2_max_power', selector: {number: {}}},
{name: 'pv3_max_power', selector: {number: {}}},
{name: 'pv4_max_power', selector: {number: {}}},
{name: 'efficiency', selector: {number: {mode: 'box', min: 0, max: 3,}}},
]
}]
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Vis Daglig Aux",
"animation_speed": "Anim. Hast.",
"max_power": "Max Effekt",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Navn",
"pv2_name": "PV2 Navn",
"pv3_name": "PV3 Navn",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Exibir Diário Aux",
"animation_speed": "Velocidade de Animação",
"max_power": "Potência Max",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PFV1 Name",
"pv2_name": "PFV2 Name",
"pv3_name": "PFV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"show_daily_aux": "Show Daily Aux",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down
4 changes: 4 additions & 0 deletions src/localize/languages/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
"min_line_width": "Min Line Width",
"animation_speed": "Anim. Speed",
"max_power": "Max Power",
"pv1_max_power": "PV1 Max Power",
"pv2_max_power": "PV2 Max Power",
"pv3_max_power": "PV3 Max Power",
"pv4_max_power": "PV4 Max Power",
"pv1_name": "PV1 Name",
"pv2_name": "PV2 Name",
"pv3_name": "PV3 Name",
Expand Down

0 comments on commit 90ebc9f

Please sign in to comment.