Returning Dallas DS18B20 Address to HA

So when the device boots up, it shows the address of the Dallas sensor in the log.

Is there a way I can determine the address via the API/runtime so that I can return the string back to a HA input_text (and obviously the dallas integration)

I dont want to determine it via a compiled address as that becomes a static thing, and if I change the sensor, it means I have to recompile (which is a pain to do as my code is 4000Lines long and currently wont compile OTA due to another issue)

No. And even if there was the address option does not accept lambdas.