fix thermostat mixup