Hassio/mqtt/milight - how to edit auto discovered entities?

Hi!
still very new to HA (coming from fhem), I am adding new devices using a VM with hassio.
While doing so, I also created a new milight hub with esp.
Now, there is an entity klohinten_licht which is using mqtt. But on the hub I had to change the device ID, so the mqtt topic changed too.
When I click on “mqtt info” within the device, I can see the subscribed and published topic, but there is no information about that in configuration.yaml and I can also not find anything in home-assistant_v2.db using sqlite-browser.
Could please anyone tell me where HA/hassio is storing those stuff or how to change it? I am really confused as I am used to config files, but do not find anything…
Best regards and thanks in advance,
Otto

Well, it comes from the MQTT Discovery payload published by the device - that’s how MQTT Discovery works.

No files are involved, just MQTT messages.

Hm. But SOMEWHERE HA must save how to act with that? Or how does it know what to publish??
In other words (as happened to me today):
Changed the device ID in milight → topic changed.
But no reaction in HA?

HA doesn’t publish anything, and nothing is saved at HA.

The configuration details are stored on the broker, and published by whatever is publishing the discovery payload (probably the milight).