-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
X3 Hybrid G4: Attributes added (#136)
* Update x3_hybrid_g4.py add Battery mode * Update x3_hybrid_g4.py Battery Remaining Energy added * Update x3_hybrid_g4.py Feed-in und Consumed Energy total added * Update x3_hybrid_g4.py EPS Energy total / today added * Update x3_hybrid_g4.py PV Energy total added * Update x3_hybrid_g4.py Battery (Dis-)charge Energy total/today added * Update x3_hybrid_g4.py Load/Generator Power added * Update x3_hybrid_g4.py EPS Current and Voltage Units fixed * Update x3_hybrid_g4.py Battery Voltage and Current added * Update x3_hybrid_g4.py import twoway_div100 * Update x3_hybrid_g4.py rename Feed-in -> Grid Power * using black for formatting * applied formatting with black v24.2.0 (debian testing) * commented duplicate 'Battery Voltage' in field 39. This is twice in the data. Field 169, 170 probably better than 39. * Update x3_hybrid_g4.py refactor battery_modes to _decode_battery_mode * Update x3_hybrid_g4.py using the right comment method (hopefully) * Update expected_values.py added test values for X3_HYBRID_G4 * Update expected_values.py added missing comma * Update expected_values.py removed duplicate value * Update expected_values.py added test value 'PV Energy total' * Update expected_values.py adjust expectred values with example response
- Loading branch information
1 parent
878bf5b
commit 2e2cdd2
Showing
2 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters