Hide Z2m entities from Home Assistant

I have created light groups directly in the Z2M gui and would like to not expose the individual lights to HA.

I cannot see any option not to forward the entity info to HA.

Is there any way to do this? Primarily, to keep HA tidier but also so I don’t have to blacklist in yaml for Google Assistant.

You can disable the entities in HA. Find the entity for your light, open it, go to the settings tab, find the Advanced Settings Dropdown and then the ‘disabled’ radio button (right side) then Update.

I know you can do this but it’s convoluted and takes just as much time as copying/pasting in yaml for the purpose of hiding from Google Assistant.

I really don’t want any entities in HA that I don’t need to begin with.