Goto the device page and look at the attribute supportedThermostatModes. Make sure the line looks similar to below. Each mode needs to be enclosed in quotes, if not then you can use this procedure to fix it.
- supportedThermostatModes : ["auto","auxHeatOnly","cool","emergency heat","heat","off"]