Danfoss 014G0013 and current temperature from another sensor

I wrote script to update current temperature for thermostat from another sensor Update current temperature for Z-Wave thermostats