From b6cd64548cbdfd39e393ad65551ebd96344b62d8 Mon Sep 17 00:00:00 2001 From: fsantini Date: Sun, 13 Oct 2024 18:02:49 +0200 Subject: [PATCH] Manually merge PM81 --- e3dc/_e3dc.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e3dc/_e3dc.py b/e3dc/_e3dc.py index 0835bfd..a1af829 100644 --- a/e3dc/_e3dc.py +++ b/e3dc/_e3dc.py @@ -698,6 +698,8 @@ def get_db_data_timestamp( "startTimestamp": , "stateOfCharge": , "solarProduction": , + "pm0Production": , + "pm1Production": , "timespanSeconds": } """ @@ -746,6 +748,8 @@ def get_db_data_timestamp( response[2][0], RscpTag.DB_BAT_CHARGE_LEVEL ), "solarProduction": rscpFindTagIndex(response[2][0], RscpTag.DB_DC_POWER), + "pm0Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_0_POWER), + "pm1Production": rscpFindTagIndex(response[2][0], RscpTag.DB_PM_1_POWER), "timespanSeconds": timespanSeconds, } @@ -779,6 +783,8 @@ def get_db_data( "startDate": , "stateOfCharge": , "solarProduction": , + "pm0Production": , + "pm1Production": , "timespan": , "timespanSeconds": }