diff --git a/PyViCare/PyViCareHeatingDevice.py b/PyViCare/PyViCareHeatingDevice.py index 64f8c4f9..ed8f4c83 100644 --- a/PyViCare/PyViCareHeatingDevice.py +++ b/PyViCare/PyViCareHeatingDevice.py @@ -226,6 +226,10 @@ def getSolarStorageTemperature(self): def getSolarPowerProduction(self): return self.getSolarPowerProductionDays() + @handleNotSupported + def getSolarPowerProductionCumulativeProduced(self): + return self.service.getProperty("heating.solar.power.cumulativeProduced")["properties"]["value"]["value"] + @handleNotSupported def getSolarPowerProductionUnit(self): return self.service.getProperty("heating.solar.power.production")["properties"]["day"]["unit"]