How to set integration to initialize as a service?

Can somebody give me a pointer, please?
What I’d like to do is to initialize integration with all entities within a service, and then, if I need, just mirror some methods to devices (within integration).
To show what I mean…here is a SS of an integration that has it as I want it (more or less)

Sadly, I can’t seem to figure it out. All I am able to create are “devices”. Any help would be much appreciated.

Maybe it helps someone↓

You need to specify entry_type property.
Don’t forget the relevant import:

from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo