Yes sir, I did.
I removed all except for the “uid” part. Otherwise Openhab tells me to give an ID to the widget. I remove all below the first line “uid” and then paste your code from here.
As soon as pressing on Save the code disappears and the default code appears again.