Yeelight wont allow multiple devices from Config.yaml

Hi!

I’m having trouble adding multiple light bulbs from Yeelights.
I can see the devices integrated, but the device itself only gets added by one room.

discovery:
  ignore:
    - yeelight

yeelight:
  devices:
    192.168.178.38:
      name: light1
      model: color2
    192.168.178.27:
      name: light2
      model: color4
    192.168.178.40:
      name: light3
      model: color4

The only device I can see added is the Second one, “light2”.
All of the IP’s have static IP address’, tried to set the model from under integration settings as well but no avail.

Reason I want to add the devices via configuration.yaml is that I can rename the lights to more suitable names. If you know any better ways, please let me know! I am new to HomeAssistant. :smiley:

EDIT:
Also would like to add, that lights work with no problem on Yeelight app, and all the devices have LAN enabled via app.

Solved:
GitHub had an open issue about this problem.
Problem is if you have tried to add the lights for too many times(4 I suppose), is when python doesn’t close the socket correctly, thus overloads the maximum connection limits of 4.
You have to power cycle your bulb’s that are not showing up. What I did:
Close bulb from switch for 2 seconds
Open bulb from switch for 8 seconds
Close bulb from switch for 2 seconds
Open bulb from switch for 8 seconds
Close bulb from switch for 2 seconds
Open bulb from switch for 8 seconds

They might show up solely from that, but what I did just to make sure everything works as intended is that I deleted the integrations and added them after that - everything works now.