HomeSeer Floodlight (HS-FLS100+) - Installation - Device Handler for Hub - Settings Question

I am surprised HomeSeer took down the link for the code. I have attached a link to the code I used to add to SmartThings Groovy IDE. Note: I reached out to HomeSeer a while back as the new SmartThings app doesn’t update setting changes to the light from the app. I have been told that in the classic app the settings function does work. For now, when I want to edit settings for the light, I have to go into the ST Groovy IDE and edit the settings in the code.

Here is a link to a post of the original code that was on the HomeSeer page.