Hide homekit component

Hi

Now that the HomeKit component is available I have doubles of all the units that are direct HomeKit-compatible in my home-app. I want to keep the HomeKit-compatible devices linked with the home-app since I guess that one is more stable.

Is there a way to hide those components just like homebridge_hidden works when using homebridge?

Regards,
Robert

yes, but you have to wait for the new version 0.66 :slight_smile:

I actually run the beta now, is there a way then?

yes, look into the documentation or the github changes: there is a new filter option which you can use in your configuration.yaml

Been searching everywhere for info but I can’t find anything that helps me.

shouldn’t be that hard:

Yes I saw that and the line:

“To limit which entities are being exposed to HomeKit, you can use the filter parameter. By default no entity will be excluded. Keep in mind though that only supported components can be added.”

So what is the filiter parameter and how does it work, thats what I don’t get.

1 Like

@robzombie
Agreed. What is a “filter” parameter and how do I add one (what’s the format/syntax). I’ll keep looking as well and let you know if I find anything.

@robzombie

[UPDATE]:
Here’s the format:

filter:
  exclude_domains:
    - cover
    - switch
  exclude_entities:
    - light.kitchen
    - light.living_room
  include_domain:
    - light
  include_entities:
    - light.bedroom

I deleted the old info to avoid confusing anyone else who happens across this. I’m looking in to how to update the documentation to include this and cases on how the scripts determine what to include/exclude.

Is there a reason why the way to manage visibility is different from the way it was done in customizing entities ? https://www.home-assistant.io/docs/configuration/customizing-devices/ - seems to me it’s a bit tedious to manage visibilities in several different, unrelated ways…

That’s an interesting observation. I’m not involved in development; just happened to ferret the details needed to use it. When I was trying to figure it out someone was pointing to other filter examples:


Not sure the reasons behind these different approaches (customize entities vs. filters).