Set configuration value by user input in preferences. Help please

I’m trying allow user input in preferences define the the value of scaledConfigurationValue which if you look below has a value of 1.

def configure() {
	
	//send no-motion report 60 seconds after motion stops
	zwave.configurationV1.configurationSet(parameterNumber: 1, size: 2, scaledConfigurationValue: 1).format()
}

@Debosmebo I edited your post to properly display the code block.

Now for an answer:

You should be able to do something like this.

    preferences {
        input "configValue", "number", title: "Temperature Offset", description: "This would be the config value for the scale", displayDuringSetup: false
    }

def configure() {
	
	//send no-motion report 60 seconds after motion stops
	zwave.configurationV1.configurationSet(parameterNumber: 1, size: 2, scaledConfigurationValue: configValue).format()
}