Homekit Yaml file how to copy - get all entities used in HA

I have the Homekit integration installed. Since I do not want all the entities displayed in Homekit I excluded many off them by selecting the from the list. That is working fine.
If I want to use the yaml file instead I read from the manual that the filter can be used having it included only certain entities. But than I have to list all the domains/ entity’s which I do not want to include filtered first? Or can I just have them all not included by one phrase?

The easy ones like light, sensor, etc are obvious but there seem to be many more if I go over the entity list. Is there a way to get the domains and entities listed to make coping the all at once easyer?
Or does the integration create a yaml file somewhere which holds the selected items from the integration. So I can copy that?