Questions about yeelight bulb

Actually i have the yeelight lights component not automatically discovered and put for every bulb a static IP in my router and in configuration.yaml.
If i change the config to discover them automatically, am i still forced to put the static IP for all those lights or not?