Expose HA entities as one accessory to HomeKit

In short how can I expose multiple HA entities as one accessory to HomeKit. Eg when I expose a chromecast I get this nice view of four switches.

So it is possible and can be done but I can’t find any documentation about this. Is there any undocumented yaml to combine multiple entities or templates such that they show up in HomeKit like this?

More details I just recently switched to HA and love it so far. For my organisation this feature means a lot as it declutters the home app. Furthermore it is not possible to combine the entities in HomeKit it self since this results in one switch controlling all four switches synchronous

These other related issues sadly did not help me HA forum1, HA forum2

two more links Reddit, HA docs