code: def activate_absence_with_period(self, endtime: datetime):
          
          data = {"endTime": endtime.strftime("%Y_%m_%d %H:%M")}
          return self._restCall(
              "home/heating/activateAbsenceWithPeriod", json.dumps(data)
          )
docs: activates the absence mode until the given time
  
          Args:
              endtime(datetime): the time when the absence should automatically be disabled