Ozone advisory effective until midnight Friday