Added command to set the thermostat mode.