First check if the LED of the thermostat lights up when you put it in the ignition. 

If,yes then the thermostat is good. Then check that you have inserted the thermostat deep enough into the contact of the bbg otherwise it will not make contact with each other and the bbq will not heat up.