The Handler I used is the following Git hub QubinoFlushOnOffThermostat_DeviceHandler_v0_9.groovy
You have to set the lifeline in the app. Firstly you have to setup the Z-wave tweaker follow this link
Once installed you have to log in in the SmartThings Ide from your pc or tablet (graph-eu01-euwest1.api.smartthings.com)
From there set the tweaker on the thermostat, go to the app there go to settings and set the Association Group ID to 1 and association group members to 01 save there. Go back to the SmartThings IDE and change the the thermostat back to its original state.