make sure the LCD button issues a true adjust z command:
Anything thats not a true “Adjust Live Z” call wont change the sheet’s z-offset value. You need to set MOVE=1 and ADJUST_Z= in your call to SET_GCODE_OFFSET. This is how Fluidd, Mainsail & Klipper Screen etc do it. All other call patterns wont change the sheet offset.
I wish I could, but cannot locate where this is being setup (standard config, but no idea in which file I need to look at!)
By the way I found another usage to your macro: between PETG and ABS/ASA, I always need some adjustments. So I created some bed sheet coupling sheet type and material.
Something like: textured/PETG …