HomeKit shows devices as Not Responding

Hi Everyone,
I’m trying to get HomeKit support on my Home Assistant configuration to have some devices on Home app as well.

This is my configuration:

homekit:
  port: 51926
  name: HomeAssistant
  filter:
    include_entities:
      - switch.power_outlet
  entity_config:
    switch.power_outlet:
      type: outlet

It’s super easy and super simple.
I can add the Home Assistant bridge in HomeKit. It works for some seconds, and then the power outlet and the HA Bridge show as “Not Responding”.

I’ve tried to:

  • Remove .homekit.state, no luck, same behavior
  • Remove and add Home Assistant accessory, no luck, same behavior
  • Trying to access from another device, same behavior
  • Trying to reboot iPhone, no luck, same behavior

I really can’t understand what to do and why it works only for some seconds.

Someone can help me to understand what’s happening?

Thank you

1 Like

Hi @giuseppe64
How do I add 2 or more Switch Entities in your Code?
I have multiple Sonoff Devices that I have in HA and want to show in HomeKit app. I have added 1 as per your code and it is working just great, however when I try to add a 2nd or 3rd it says “duplicate entry”

I am sure it is just the way I added the extra devices however I am still learning this code?
Thanks in advance

Hi @brucys, you can add more devices under:

  entity_config:
    switch.power_outlet:
      type: outlet 

for example, for two outlets:

  entity_config:
    switch.power_outlet:
      type: outlet 
    switch.second_outlet:
      type: outlet 

and so on!

@giuseppe64 your are legend
Thanks heaps. managed to get it to show in HomeKit.
Cheers mate