Skip to content

Commit b6cd645

Browse files
committed
Manually merge PM81
1 parent 44527f5 commit b6cd645

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

e3dc/_e3dc.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,8 @@ def get_db_data_timestamp(
698698
"startTimestamp": <timestamp from which db data is fetched of>,
699699
"stateOfCharge": <battery charge level in %>,
700700
"solarProduction": <power production>,
701+
"pm0Production": <power production>,
702+
"pm1Production": <power production>,
701703
"timespanSeconds": <timespan in seconds of which db data is collected>
702704
}
703705
"""
@@ -746,6 +748,8 @@ def get_db_data_timestamp(
746748
response[2][0], RscpTag.DB_BAT_CHARGE_LEVEL
747749
),
748750
"solarProduction": rscpFindTagIndex(response[2][0], RscpTag.DB_DC_POWER),
751+
"pm0Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_0_POWER),
752+
"pm1Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_1_POWER),
749753
"timespanSeconds": timespanSeconds,
750754
}
751755

@@ -779,6 +783,8 @@ def get_db_data(
779783
"startDate": <date from which db data is fetched of>,
780784
"stateOfCharge": <battery charge level in %>,
781785
"solarProduction": <power production>,
786+
"pm0Production": <power production>,
787+
"pm1Production": <power production>,
782788
"timespan": <timespan of which db data is collected>,
783789
"timespanSeconds": <timespan in seconds of which db data is collected>
784790
}

0 commit comments

Comments
 (0)