A yellow warning for high temperatures comes into effect on Thursday, with the maximum temperature expected to reach around 40 degrees Celsius inland.