Warnings to keep cool as hot weather closes in