Help me to connect to homekit

Can someone pls help me with this? when im in the HomeKit app it says it needs a code

Which version of bulb do you have? Does it support Homekit?

You need to create one Home firstly through Home App.

The solution is to allow permission for Yeelight to access Home data. Settings>Yeelight > toggle on Home Data. Then try again. That’s all.