It's not right. When she takes you for granted she thinks you'll always be there for her. Your presence or help is obvious for her; she finds this state of affairs natural. If you always obey her she can easily start taking it for granted and she probably will, but these are two different things.
PS: not a teacher