Skip to content

Commit

Permalink
feat: add burner volumetricFlow sensor to gas devices (openviess#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
denmaus authored Jan 16, 2023
1 parent 23efc1c commit d41b734
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PyViCare/PyViCareGazBoiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ def getPowerConsumptionYears(self):
def getPowerConsumptionThisYear(self):
return self.service.getProperty("heating.power.consumption.total")["properties"]["year"]["value"][0]

@handleNotSupported
def getVolumetricFlowReturn(self):
return self.service.getProperty("heating.sensors.volumetricFlow.allengra")["properties"]["value"]["value"]

# For Vitodens-100W new "summary" api methods
# Gas consumption for Heating data:
@handleNotSupported
Expand Down

0 comments on commit d41b734

Please sign in to comment.