How to specify an entity reference property in lua

I’m trying to make a property that show the pick entity button so I can select and reference an entity present in the level.

Does this doc help at all:

Thanks, I found the solution yesterday in your post on the differences with 1.8.