I’m struggling with a .yaml configuration for the Homekit integration.
Can somebody tell me why the first example is valid, but the second one throws an error “Invalid config for [homekit]: contains duplicate items: [21063] for dictionary value @ data[‘homekit’]”:
Valid code:
homekit:
- name: "Homekit YAML"
filter:
include_entities:
- binary_sensor.one
- binary_sensor.two
Invalid code:
homekit:
- name: "Homekit YAML"
filter:
include_entities:
- binary_sensor.one
- binary_sensor.two
- name: "TV Accessory"
mode: accessory
filter:
include_entities:
- media_player.tv
It is most probably a formatting error but I can’t find it.