Homekit Bridge Filter Help

Hi there,

I have two homekit bridges setup via yaml in my config, one for lights, covers, TRVs and switches and the other one for my TV . My issue is, with the first one I am not managing to filter appropriately. I want to exclude e.g. all hmip TRVs as I am using Better Thermostat. This is what my code looks like:

homekit:
  - name: HA-Bridge
    port: ABC
    filter:
      include_entities:
      - scene.gute_nacht
      - lock.haustuer
      - switch.terrasse_steckdose_1
      - switch.garten_steckdose_1
      - switch.klingel_switch_0
      - switch.schreibtisch_schalter
      exclude_entities:
      - light.esszimmerlampe
      - light.terrassenlampen
      - light.lampen_draussen
      - light.kue_lights_ceiling
      - light.kue_lights_window
      - light.kue_lights_middle
      - light.kue_lights_counter
      - light.kue_lights_all
      - light.alle_lampen
      - light.wohn_lights_all
      - light.wohn_lights_couch_inner
      - light.wohn_lights_couch_outer
      - light.wohn_lights_couch
      - light.gar_lights_all
      - light.bad_lights_bathtub_all
      - light.arbeitszimmer
      - cover.multiple_covers_front
      - cover.multiple_covers_back
      - cover.multiple_covers_all
      - climate.hmip_esszimmer
      - climate.hmip_arbeitszimmer_links
      - climate.hmip_arbeitszimmer_rechts
      - climate.hmip_wohnzimmer_links
      - climate.hmip_wohnzimmer_rechts
      - climate.hmip_flur
      - climate.hmip_kinderzimmer_links
      - climate.hmip_kinderzimmer_rechts
      - climate.hmip_schlafzimmer
      include_domains:
      - light
      - cover
      - climate
  - name: HA-Bridge-2
    port: XYZ
    mode: accessory
    filter:
      include_entities:
      - media_player.wohnzimmer_tv

What basically does not work is the “exclude entites” part. Can anyone help me?

Try to split it:

homekit:
  - name: bridge_1
    port: port_1
    filter:
      include_entities:
      - scene.gute_nacht
      - lock.haustuer
      - switch.terrasse_steckdose_1
      - switch.garten_steckdose_1
      - switch.klingel_switch_0
      - switch.schreibtisch_schalter

  - name: bridge_2
    port: port_2
    filter:
      include_domains:
      - light
      - cover
      - climate
      exclude_entities:
      - light.xxxx
      - ...
      - cover.xxx
      - ...
      - climate.xxx
      - ...

  - name: bridge_3
    port: port_3
    mode: accessory
    filter:
      include_entities:
      - media_player.wohnzimmer_tv

This “otherwise” makes it suspicious:
image