Fixed handling THERMOSTAT_MODE reports by generic Thermostat Class.