Skip to content

Commit

Permalink
Added getDomesticHotWaterChargingActive method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jure Suvak committed Jan 21, 2021
1 parent b443a4d commit 8e93433
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PyViCare/PyViCareDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ def getDomesticHotWaterMaxTemperature(self):
@handleNotSupported
def getDomesticHotWaterMinTemperature(self):
return self.service.getProperty("heating.dhw.temperature")["actions"][0]["fields"][0]["min"]

@handleNotSupported
def getDomesticHotWaterChargingActive(self):
return self.service.getProperty("heating.dhw.charging")["properties"]["active"]["value"]

""" Set the target temperature for domestic host water
Parameters
Expand Down

0 comments on commit 8e93433

Please sign in to comment.