Combining entities into a device

Hi there!

I’m trying to figure out whether there is a way to combine multiple manually configured entities into a single device.

The only reference in documentation I got was this:
Device Registry | Home Assistant Developer Docs (

The documentation, however, does not specify how to do this through yaml or frontend, but a “developer way.”

Any info on this would be highly appreciated.
Thank you.

You can’t.

The only option that exists is for MQTT entities, using MQTT Discovery.