Skip to content

Commit

Permalink
Change the ECO_CHARGE/ECO_DISCHARGE int values
Browse files Browse the repository at this point in the history
Change the ECO_CHARGE/ECO_DISCHARGE int values to prevent clash with real modes (SELF_USE = 5 on 745 platforms).
  • Loading branch information
mletenay committed Apr 13, 2024
1 parent dee52be commit 2949331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goodwe/inverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class OperationMode(IntEnum):
BACKUP = 2
ECO = 3
PEAK_SHAVING = 4
ECO_CHARGE = 5
ECO_DISCHARGE = 6
ECO_CHARGE = 10
ECO_DISCHARGE = 11


class Inverter(ABC):
Expand Down

0 comments on commit 2949331

Please sign in to comment.