Skip to content

Commit

Permalink
Merge pull request openviess#83 from SlayerTO/master
Browse files Browse the repository at this point in the history
Feature names fuel cell power cumulative changed
  • Loading branch information
somm15 authored Jun 16, 2021
2 parents f3dbead + 9d6e6ec commit 6172f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyViCare/PyViCareFuelCell.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ def getFuelCellAvailabilityRate(self):

@handleNotSupported
def getCumulativePowerProduced(self):
return self.service.getProperty("heating.power.cumulativeProduced")["properties"]["value"]["value"]
return self.service.getProperty("heating.power.production.cumulative")["properties"]["value"]["value"]

@handleNotSupported
def getCumulativePowerSold(self):
return self.service.getProperty("heating.power.cumulativeSold")["properties"]["value"]["value"]
return self.service.getProperty("heating.power.sold.cumulative")["properties"]["value"]["value"]

@handleNotSupported
def getCumulativePowerPurchased(self):
return self.service.getProperty("heating.power.cumulativePurchased")["properties"]["value"]["value"]
return self.service.getProperty("heating.power.purchase.cumulative")["properties"]["value"]["value"]

@handleNotSupported
def getFuelCellReturnTemperature(self):
Expand Down

0 comments on commit 6172f3c

Please sign in to comment.