Change the nozzle diameter reported by the hot end?

I know I can go into Luban and override the programmed nozzle diameter for a Dual Extrusion Module hot end, but is there any way to “reprogram” the hot end to report a different nozzle diameter than it shipped with? Luban suddenly keeps trying to reset the override I specified.

The hotend nozzle size is coded as a resistor on the hotend module. You can unsolder that resistor and replace it with one the matches your nozzle size. I am not aware of a comprehensive list of resitor values for the different sizes, but I guess with the united power of the community we could compile such a list. If you plan to regularly change the nozzle size, you might even consider to solder in a adjustable resistor.
Main caveat: It is a small SMD resistor - changing it requires a minimum of soldering skills.