Homekit Includes and excludes don't seem to be working

I have the following yaml for my homekit bridge:

homekit:
  - name: HA Bridge Main
    filter:
      include_domains:
        - light
        - cover
      include_entity_globs:
        - binary_sensor.*_pir
        - sensor.*_humidity
        - sensor.*_temperature
        - sensor.shelly*_temperature
        - binary_sensor.*_smoke
        - binary_sensor.*_reed
        - binary_sensor.*_reed
        - binary_sensor.*door
      include_entities:
        - input_boolean.presence_detector_david
        - sensor.andoni_bedroom
        - sensor.master_bedroom
        - input_select.coffee_powermode
        - input_select.heating_powermode
        - climate.central_heating
        - input_boolean.central_heating_proxy_manual
      exclude_domains:
        - switch
        - media_player
      exclude_entity_globs:
        - switch.*zwave*
        - switch.*kogan*
        - sensor.*zwave*
      exclude_entities:
        - sensor.average_house_temperature_minmax  
        - light.192_168_100_50

That light light.192_168_100_50 is appearing in home kit enough though I’ve excluded it.
I’ve called a reset on accessory and then in the log I see:

2022-04-12 14:24:10 DEBUG (MainThread) [homeassistant.components.homekit.accessories] Add "light.192_168_100_50" as "Light"
2022-04-12 14:24:10 DEBUG (MainThread) [homeassistant.components.homekit.accessories] New_state: <state light.192_168_100_50=unavailable; min_mireds=153, max_mireds=588, effect_list=['Strobe color', 'Police', 'Christmas', 'RGB', 'Random Loop', 'Fast Random Loop', 'LSD', 'Slowdown', 'Night Mode', 'Date Night', 'Movie', 'Sunrise', 'Sunset', 'Romance', 'Happy Birthday', 'Disco', 'Strobe epilepsy!', 'Alarm', 'Police2', 'WhatsApp', 'Facebook', 'Twitter', 'Home', 'Candle Flicker', 'Slow Temp', 'Stop'], supported_color_modes=['color_temp', 'hs', 'rgb'], friendly_name=Andoni Light, supported_features=44 @ 2022-04-12T14:12:43.906977+12:00>

Any ideas how, or do I need to split my domains into their own bridges so I can control it better?

1 Like

I have the same problem. Tried with both exclude_entities and exlude_entity_globs. Did you find any solution?

I think I just did exclude entities