Skip to content

Commit

Permalink
fix: formatting and lint errors (openviess#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
woehrl01 authored Dec 10, 2021
1 parent ec5e6a2 commit ed9fc44
Show file tree
Hide file tree
Showing 6 changed files with 3,764 additions and 3,942 deletions.
8 changes: 4 additions & 4 deletions PyViCare/PyViCareGazBoiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def getPowerConsumptionThisYear(self):
@handleNotSupported
def getGasSummaryConsumptionHeatingUnit(self):
return self.service.getProperty("heating.gas.consumption.summary.heating")["properties"]["unit"]["value"]

@handleNotSupported
def getGasSummaryConsumptionHeatingCurrentDay(self):
return self.service.getProperty("heating.gas.consumption.summary.heating")["properties"]["currentDay"]["value"]
Expand Down Expand Up @@ -171,7 +171,7 @@ def getGasSummaryConsumptionHeatingLastYear(self):
@handleNotSupported
def getGasSummaryConsumptionDomesticHotWaterUnit(self):
return self.service.getProperty("heating.gas.consumption.summary.dhw")["properties"]["unit"]["value"]

@handleNotSupported
def getGasSummaryConsumptionDomesticHotWaterCurrentDay(self):
return self.service.getProperty("heating.gas.consumption.summary.dhw")["properties"]["currentDay"]["value"]
Expand Down Expand Up @@ -200,7 +200,7 @@ def getGasSummaryConsumptionDomesticHotWaterLastYear(self):
@handleNotSupported
def getPowerSummaryConsumptionHeatingUnit(self):
return self.service.getProperty("heating.power.consumption.summary.heating")["properties"]["unit"]["value"]

@handleNotSupported
def getPowerSummaryConsumptionHeatingCurrentDay(self):
return self.service.getProperty("heating.power.consumption.summary.heating")["properties"]["currentDay"]["value"]
Expand Down Expand Up @@ -229,7 +229,7 @@ def getPowerSummaryConsumptionHeatingLastYear(self):
@handleNotSupported
def getPowerSummaryConsumptionDomesticHotWaterUnit(self):
return self.service.getProperty("heating.power.consumption.summary.dhw")["properties"]["unit"]["value"]

@handleNotSupported
def getPowerSummaryConsumptionDomesticHotWaterCurrentDay(self):
return self.service.getProperty("heating.power.consumption.summary.dhw")["properties"]["currentDay"]["value"]
Expand Down
Loading

0 comments on commit ed9fc44

Please sign in to comment.