Yeelight wifi autodiscovery

Hello community,

I’ve got a bulb and what to include it to my homeassistance.
It works good if I set it with IP but my router doesn’t support IP reservation so I want to set it for automatic discovery.
In documentation I see

light.yeelight_color1_XXXXXXXXXXXX:
  friendly_name: Living Room

I guess my lamp is color1, but what should be instead of XXXXXXXXXXXX?
I couldn’t find any information about that.
Where can I look for it?

I think that setting is for customizing the entity name only.
When the light bulb is auto-discovered in HA, the name should be in Developer Tools - States.

You mean that I don’t need to do anything in configuration to auto-discover the bulb?

Yes.
Home Assistant - Discovery