code: def activate_absence_with_duration(self, duration: int):
          
          data = {"duration": duration}
          return self._restCall(
              "home/heating/activateAbsenceWithDuration", json.dumps(data)
          )
docs: activates the absence mode for a given time
  
          Args:
              duration(int): the absence duration in minutes