How to use addRepeatableComponentToField to add content alongside the component?

I have a content-type “Post” which has a field called places, which is a repeatable component, and can have components of the type “Place”.

My plugin is adding a button which adds a new “Place” to the “Post”.

Now I have figured out how to add an empty “Place” component:

const entity = useCMEditViewDataManager();
entity.addRepeatableComponentToField(
      "places",
      entity.allLayoutData.components["post.place"],
      undefined
      true
    );

But, I cannot figure out how to also add content to the place.

Can someone enlighten me please.

You can trigger something like this afterwards

      onChange({
        target: { name: 'content.0.places.0.other.nested.path.from.entity.modified', value: { your: 'new values' }, type: attribute.type },
      });