def METHOD_NAME(self, data):
    if data.get("wait_delay", None):
        try:
            time.strptime(data["wait_delay"], "%H:%M:%S")
        except ValueError:
            try:
                data["wait_delay"] = str(timedelta(seconds=float(data["wait_delay"])))
            except ValueError:
                raise serializers.ValidationError("Invalid wait delay format")
    data = self._notify_by_to_internal_value(data)
    return super().METHOD_NAME(data)