Skip to content

Commit

Permalink
fix: Remove run mode number
Browse files Browse the repository at this point in the history
HA uses the field index as ids for the sensors, hence it
must not occur twice.
  • Loading branch information
Marc Luehr committed Apr 9, 2024
1 parent 8845987 commit f623ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solax/inverters/x3_hybrid_g4.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def response_decoder(cls):
"Grid 1 Frequency": (16, Units.HZ, div100),
"Grid 2 Frequency": (17, Units.HZ, div100),
"Grid 3 Frequency": (18, Units.HZ, div100),
"Run mode": (19, Units.NONE),
#"Run mode": (19, Units.NONE),
"Run mode text": (19, Units.NONE, X3HybridG4._decode_run_mode),
"EPS 1 Voltage": (23, Units.V, div10),
"EPS 2 Voltage": (24, Units.V, div10),
Expand Down

0 comments on commit f623ac1

Please sign in to comment.