CarPlay hide entities

I have hidden a lot of entities that I don’t want users to see like helpers etc that are used for automations.

however in CarPlay some of them still show in the control section, how can these be hidden please?

also some devices where I have changed the type from switch to light, CarPlay still shows both even though switch is hidden.