diff --git a/PyViCare/PyViCareHeatingDevice.py b/PyViCare/PyViCareHeatingDevice.py index 728f06fb..bdff187a 100644 --- a/PyViCare/PyViCareHeatingDevice.py +++ b/PyViCare/PyViCareHeatingDevice.py @@ -285,6 +285,11 @@ def setDomesticHotWaterCirculationSchedule(self, schedule): return self.service.setProperty("heating.dhw.pumps.circulation.schedule", "setSchedule", {'newSchedule': schedule}) + @handleAPICommandErrors + def setDomesticHotWaterSchedule(self, schedule): + return self.service.setProperty("heating.dhw.schedule", "setSchedule", + {'newSchedule': schedule}) + @handleNotSupported def getDomesticHotWaterCirculationScheduleModes(self): return self.service.getProperty("heating.dhw.pumps.circulation.schedule")["commands"]["setSchedule"]["params"][