"Discovered" homekit device (cozylife switch) never gets to configuration

Hi. I’m trying to connect a cozylife wifi switch to home assistant. I’ve had the switch connected using Apple Home app and that works but I’d like to have access to the switch from Home Assistant. Following the instructions for the HomeKit Integration, I have connected the device in the Home App and then removed it. In terms of the instructions I’m trying the “add homekit device by ethernet or wifi” and I don’t get the dialogue box in step 2.

It appears in Home Assistant settings > Devices and Services as a “Discovered integration”, but I can’t set it up either by the “Add” button or by trying to add it as a new HomeKit Device Integration. Both seem to go in to an infinite loop of either “Please wait, starting configuration wizard for the integration”, or Device Selection respectively. Eventually they give an generic error.

I have tried resetting the device before adding it in the Home App. I’ve also rebooted the modem, tried giving the wifi switch a static IP address, rebooted the HomePod Mini that I’m using as the Hub. I rebooted Home Assistant as well, but doing that after the integration has appeared causes it to disappear.

I’ve tried searching for solutions, but a bunch of them are not completely the same problem, or just have “it connected” without any information that helps.

I’m running HAOS in a proxmox VM (proxmox helper script install): Core version 2025.10.4; OS 16.2; Frontend 20251001.4.

I’ve had a look at the logs, but I couldn’t work out how to cut and paste from the HA console. It indicated a ConnectionRefusedError trying to connect back to the homePod’s local IP address. Sorry for not being more helpful.

Any ideas what I should try next?

1 Like

Hi,
I have the exact same problem with a CozyLife_QP06 Mini Switch and Raspberry pi 5 with HA. I did the exact same tests as you and have the exact same result : infinite wizard of “please wait, starting configuration”. I did some AI Research and solution may to use HomeBridge, but I rather prefer to find a direct solution with HA. I waiting for ideas or solution too.

  • Home Assistant OS
  • Core2025.12.0
  • Supervisor2025.11.5
  • Operating System16.3
  • Interface utilisateur20251203.0

Hi I’m currently working on a new cozylife integration. As I have only double rocker swtiches, i need to test with other devices too. I’m not a professional developper just doing this during my sparetime. You can add the integration through hacs. GitHub - soulripper13/cozylife_local

1 Like

It took me a while to try this. Super work! Installed as per instructions. I had to try both rocker switch options, but the switches were recognised and integrated in HA. Whole thing took me 20 minutes!!

Well done on this as a project!

Hi, may Iknow why it took you twenty minutes to get it to work. What problems you encountered?

No problems at all: I just work slow. Going at a slow pace I had two switches integrated in twenty minutes, including adding to dashboards, with no issues.

Alright. Thanks for the feedback