Skip to content

Commit

Permalink
fix: update missing Solax inverter status messages closes #596
Browse files Browse the repository at this point in the history
  • Loading branch information
slipx06 committed Jan 12, 2025
1 parent 2ace320 commit 418a78a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
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": "6.4.0",
"version": "6.4.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
16 changes: 11 additions & 5 deletions src/inverters/brands/solax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ export class Solax extends InverterSettingsDto {
statusGroups: InverterStatus = {
normal: {states: ['normal mode'], color: 'green', message: localize('common.normal')},
standby: {
states: ['waiting', 'checking', 'idle mode', 'standby'],
states: ['0', 'waiting', 'waitmode', '9', 'idle', 'idlemode', 'idle mode', '10', 'standby', 'standbymode'],
color: 'blue',
message: localize('common.standby')
},
selftest: {states: ['self test'], color: 'yellow', message: localize('common.selftest')},
selftest: {
states: ['8', 'self testing', 'selftest', 'self test'],
color: 'yellow',
message: localize('common.selftest')},
offgrid: {
states: ['off-grid waiting', 'off-grid', 'eps mode'],
states: ['6', 'off-grid waiting', 'epscheckmode', '7', 'off-grid', 'epsmode', 'eps mode'],
color: 'green',
message: localize('common.offgrid')
},
fault: {states: ['permanent fault mode', 'fault'], color: 'red', message: localize('common.fault')},
fault: {
states: ['4', 'permanent fault', 'permanentfaultmode', 'permanent fault mode', '3', 'fault', 'faultmode'],
color: 'red',
message: localize('common.fault')},
check: {
states: ['checking', 'update mode', 'eps check mode'],
states: ['1', 'checking', 'checkmode', '5', 'update', 'updatemode', 'update mode', 'eps check mode'],
color: 'orange',
message: localize('common.check')
},
Expand Down

0 comments on commit 418a78a

Please sign in to comment.