Sorry guys for being late (December was a rather busy month for me!), but great job @scoulombe on taking-up the lead!
Here's my code:
https://github.com/kris2k2/hubitat/blob/master/drivers/kris2k2-Sinope-TH112XZB.groovy
(It's worth mentioning that I use this Thermostat driver in conjunction with HomeKit via HubConnect+HomeBridge)