WTH - More control when adding a HomeKit Bridge integration via the UI

The HomeKit Bridge integration is great. But currently, you must select an entire domain and then exclude specific devices from it. Many domains have a ton of superfluous entities that most people would not want to expose to HomeKit, such as Sensor. It would be amazing if we had the ability to skip domain selection and then specifically include rather than exclude entities.

With the HomeKit integration where HA creates a bridge for entities added to HA, you can include/exclude domains and entities individually. I include certain domains then exclude entities within those, but I also explicitly include specific entities but not the domain.

EDIT: Here’s my config for HomeKit.

  filter:
    include_domains:
      - alarm_control_panel
      - light
      - lock
      - switch
      - vacuum
    include_entities:
      - camera.security_camera
      - camera.backyard_left_camera
      - camera.backyard_right_camera
      - camera.driveway_camera
      - cover.big_garage_door
      - cover.small_garage_door
      - binary_sensor.back_door_sensor
      - binary_sensor.exterior_door_sensor
      - binary_sensor.front_door_sensor
      - binary_sensor.garage_door_sensor
      - binary_sensor.living_room_motion_detector_sensor
      - binary_sensor.mudroom_motion_detector_sensor
      - binary_sensor.upstairs_motion_detector_sensor
      - media_player.hubble
    exclude_entities:
      - light.haswitchplate
      - switch.doorbell_switch
      - switch.docker_almond
      - switch.docker_daapd
      - switch.docker_esphome
      - switch.docker_firefox
      - switch.docker_hacc
      - switch.docker_homebridge
      - switch.docker_mariadb
      - switch.docker_mqtt
      - switch.docker_phpmyadmin
      - switch.docker_pihole
      - switch.docker_plex
      - switch.docker_portainer
      - switch.docker_transmission
      - switch.docker_tvheadend
      - switch.docker_unifi
      - switch.docker_unifivideo
      - switch.docker_zwavemap
      - switch.pihole_1_switch
      - switch.pihole_2_switch
      - switch.pihole1
      - switch.pihole2
      - switch.siren_switch
      - switch.transmission_switch
      - switch.transmission_turtle_mode
      - light.kitchen_server_cabinet_upper
      - light.kitchen_server_cabinet_upper_left
      - light.kitchen_server_cabinet_upper_middle_left
      - light.kitchen_server_cabinet_upper_middle
      - light.kitchen_server_cabinet_upper_middle_right
      - light.kitchen_server_cabinet_upper_right
      - light.kitchen_can_lights
      - light.mudroom_lights
      - light.upstairs_sconces
      - switch.exterior_lights
      - fan.living_room_fan
      - switch.back_backyard_automatic_watering
      - switch.front_backyard_automatic_watering
      - switch.front_yard_automatic_watering
      - switch.north_side_automatic_watering
      - switch.south_side_automatic_watering

@squirtbrnr You are correct, and I do that too. But I was actually referring to the UI HomeKit Bridge integration - In the Configuration > Integrations menu. Sorry if I wasn’t clear! It easily allows you to add multiple bridges, which is great when you have a ton of entities. But it has the limitation I mentioned above.

image

There is an open PR to add additional filtering here

Unfortunately, it has gone stale.