Homekit, 2 bridges via yaml

Trying to add one Homekit bridge:

homekit:
  - name: Home bridge (person)
    filter:
      include_domains:
        - person

and it seems to work fine.

Then trying add one more bridge:

homekit:
  - name: Home bridge (person)
    filter:
      include_domains:
        - person
  - name: Home bridge (light)
    filter:
      include_domains:
        - light

and getting
2024-12-12 12:20:24.489 ERROR (MainThread) [homeassistant.config] Invalid config for ‘homekit’ at conf/homekit/homekit.yaml, line 8: contains duplicate items: [21063] for dictionary value ‘homekit’, got [{‘name’: ‘Home bridge (person)’, ‘filter’: {‘include_domains’: [‘person’]}}, {‘name’: ‘Home bridge (light)’, ‘filter’: {‘include_domains’: [‘light’]}}], please check the docs at HomeKit Bridge - Home Assistant

Funny thing that it says “for dictionary value ‘homekit’” - although the Docs contain an example for a list:

# Example configuration.yaml entry configuring HomeKit
homekit:
  - filter:
      include_domains:
        - alarm_control_panel
        - light
        - media_player
    ...
  - name: HASS Bridge 2
    port: 21065
    filter:
      include_domains:
        - light

And UI supports multiple config entries.
So, a bug?
Created an issue just in case.
27 open issues for Homekit, not optimistic.

My bad.
Missed this:


Code should be like

homekit:
  - name: Home bridge (person)
    filter:
      include_domains:
        - person
  - name: Home bridge (light)
    port: smth not default
    filter:
      include_domains:
        - light