Add thermostat control to REST example
Update thermostat control to REST example